Dot repeat seems to be broken #55
-
Describe the issueFirst of all thank you so much for making this project! It's so essential to have real vim in an Xcode workflow. 👏🏽 Using dot repeat seems to only capture a part of the action. In the video below you can see I Screen.Recording.2023-06-24.at.5.04.11.PM.movHow to reproduce?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Unfortunately, it's a side effect of having the Insert mode handled by Xcode instead of Neovim (for performance reasons, and to improve the auto-completion, auto-indentation, etc.). A workaround is to explicitly set the input to Neovim when in Insert mode. You can do that with Personally, I have a binding on C-n that I use after doing imap <C-n> <Cmd>SVSetInputNvim<CR> Alternatively, you can override noremap ciw <Cmd>SVSetInputNvim<CR>ciw Note that by using |
Beta Was this translation helpful? Give feedback.
-
Thank you, this was very helpful. I started adding overrides for the movements like |
Beta Was this translation helpful? Give feedback.
Unfortunately, it's a side effect of having the Insert mode handled by Xcode instead of Neovim (for performance reasons, and to improve the auto-completion, auto-indentation, etc.).
A workaround is to explicitly set the input to Neovim when in Insert mode. You can do that with
:SVSetInputNvim
.Personally, I have a binding on C-n that I use after doing
ciw
.Alternatively, you can override
ciw
to toggle the Neovim input on-the-fly. You will need to do that for all the mappings you use.Note that by using
SVSetInputNvim
in Insert mode, the Xcode auto-completion won't be optimal.