diff options
| author | Axel Forsman <axelsfor@gmail.com> | 2023-07-18 10:48:18 +0200 |
|---|---|---|
| committer | Axel Forsman <axelsfor@gmail.com> | 2023-07-18 10:48:18 +0200 |
| commit | 083586bd642a9ea8872e08672c94e7eb554fe06b (patch) | |
| tree | b11980489fbf6668efb2b80a4c6965925abd5d7d /evil-commands.el | |
| parent | f84d3453b312bd8ec0a1c092d075bbc3d91e157b (diff) | |
Simplify evil-ex-parse
Diffstat (limited to 'evil-commands.el')
| -rw-r--r-- | evil-commands.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/evil-commands.el b/evil-commands.el index f8b9cd1..8a8599a 100644 --- a/evil-commands.el +++ b/evil-commands.el @@ -2718,7 +2718,7 @@ lines. This is the default behaviour for Visual-state insertion." (current-column) vcount)) evil-insert-skip-empty-lines skip-empty-lines) - (evil-insert-state))) + (evil-insert-state 1))) (defun evil-append (count &optional vcount skip-empty-lines) "Switch to Insert state just after point. @@ -2808,7 +2808,7 @@ The insertion will be repeated COUNT times." (unwind-protect (when evil-auto-indent (indent-according-to-mode)) - (evil-insert-state))) + (evil-insert-state 1))) (evil-define-command evil-open-below (count) "Insert a new line below point and switch to Insert state. @@ -2825,7 +2825,7 @@ The insertion will be repeated COUNT times." (unwind-protect (when evil-auto-indent (indent-according-to-mode)) - (evil-insert-state))) + (evil-insert-state 1))) (defun evil--insert-line (count vcount non-blank-p) "Switch to insert state at the beginning of the current line. @@ -2854,7 +2854,7 @@ in the next VCOUNT - 1 lines below the current one." (list (line-number-at-pos) (if non-blank-p #'evil-first-non-blank #'evil-beginning-of-line) vcount))) - (evil-insert-state)) + (evil-insert-state 1)) (defun evil-insert-line (count &optional vcount) "Switch to insert state at beginning of current line. @@ -2892,7 +2892,7 @@ next VCOUNT - 1 lines below the current one." (list (line-number-at-pos) #'end-of-line vcount))) - (evil-insert-state)) + (evil-insert-state 1)) (evil-define-command evil-insert-digraph (count) "Insert COUNT digraphs." |
