Skip to content

Replicate the behavior of vi's a #497

Answered by DogLooksGood
ispringle asked this question in Q&A
Discussion options

You must be logged in to vote

Well, you have to write your own command for such purpose.

(defun my-meow-append ()
  "Move to the end of selection, switch to INSERT state."
  (interactive)
  (if meow--temp-normal
      (progn
        (message "Quit temporary normal mode")
        (meow--switch-state 'motion))
    (if (not (region-active-p))
        (when (and (not (use-region-p))
                   (< (point) (point-max)))
          (forward-char 1))
      (meow--direction-forward)
      (meow--cancel-selection))
    (meow--switch-state 'insert)))

Modified from the original meow-append.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ispringle
Comment options

Answer selected by ispringle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants