Plugin breaks zsh vi mode insert #71
prurph
commented
Sep 20, 2015
I'm sorry--I investigated further and the issue is that I was doing something like this: http://superuser.com/questions/151803/how-do-i-customize-zshs-vim-mode/#answer-156204 and I think the call to zle reset-prompt inside zle-line-init was causing problems.
Sorry for the confusion and many thanks for investigating!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If vi mode is on (
bindkey -v), the following happens:a(append) ori(insert) will cause any text after the cursor to disappear because autosuggestions kicks in with that text after the cursor as the suggestion, and once you diverge from it by inserting text, it's gone.Contrast this with using the arrow keys to move backwards without ever leaving insert mode and any typed text is inserted in the middle as expected.