diff options
| author | Somelauw <Somelauw@gmail.com> | 2017-06-29 22:34:16 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-29 22:34:16 +0200 |
| commit | 9d9b748c43eec68312c9190652e56c8d943bd3d1 (patch) | |
| tree | ff9800024e8dfca277e400ad592d08e438bc9528 | |
| parent | 7daf15222faa97c7fa28d772125ef902d30cd26f (diff) | |
| parent | f6cb5e4a0808b885d5df2a21cb97c8d544974226 (diff) | |
Merge pull request #9 from ZarsBranchkin/patch-1
Fix org-insert-item cursor position
| -rw-r--r-- | evil-org.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/evil-org.el b/evil-org.el index f2db940..6c21e47 100644 --- a/evil-org.el +++ b/evil-org.el @@ -133,7 +133,7 @@ Passing in any prefix argument, executes the command without special behavior." (e (org-element-lineage (org-element-at-point) special t))) (cl-case (org-element-type e) ((table-row) (org-table-insert-row '(4)) (evil-insert nil)) - ((item) (org-insert-item) (evil-append nil)) + ((item) (org-insert-item) (evil-insert nil)) (otherwise (evil-open-below count))))) (defun evil-org-open-above (count) @@ -147,7 +147,7 @@ Passing in any prefix argument, executes the command without special behavior." (e (org-element-lineage (org-element-at-point) special t))) (cl-case (org-element-type e) ((table-row) (org-table-insert-row) (evil-insert nil)) - ((item) (beginning-of-line) (org-insert-item) (evil-append nil)) + ((item) (beginning-of-line) (org-insert-item) (evil-insert nil)) (otherwise (evil-open-above count))))) (defun evil-org-insert-subheading (&optional arg) |
