[vim-repeat] insert mode
See original GitHub issueHello.
Given the following invalid JSON (it’s missing the EOL commas ,
):
{
"line1": "1"
"line2": "2"
"line3": "3"
"line4": "4"
}
In Vim with the vim-repeat plugin, if I type the following sequence on "line1"
to insert the comma at the end of the line:
A,ESC
Then I move down to "line2"
and type the .
and then down to "line3"
and type the .
again it will repeat and insert the comma at the end of each of those lines. It doesn’t seem like this behavior is currently working in vscode-neovim.
Other vim-repeat behaviors including those coupled with vim-surround like cs"'
work fine. I would assume the issue is related to switching over to insert mode and VSCode taking back control?
I’ve got 🤞 the solution doesn’t require listening to events in insert mode as from a few other issues that sounds like a non-starter due to performance reasons.
Thanks for the hard work on this project!
Issue Analytics
- State:
- Created 4 years ago
- Reactions:12
- Comments:21 (8 by maintainers)
Top GitHub Comments
@justinmk
Is there an open Neovim issue one can track for that addition? I think the promise of this VSCode plugin is amazing but unfortunately, with this issue present, it completely breaks at least my Vim workflow.
For anyone interested here is test version (rename to vsix and install it through
Install from VSIX
in vscode):vscode-neovim-0.0.51.zip
Far from ideal but basic repeating should be supported