vim: Switch to normal mode after toggling comments (#13412)

Release Notes:

- vim: Fixed switching to normal mode after `g c`(vim::ToggleComments)
in visual mode
([#4439](https://github.com/zed-industries/zed/issues/4439))
This commit is contained in:
crwen
2024-06-24 10:23:40 +02:00
committed by GitHub
parent 9813297892
commit 354427413a
3 changed files with 75 additions and 2 deletions
+2 -2
View File
@@ -612,13 +612,13 @@
{
"context": "Editor && vim_mode == normal && !VimWaiting",
"bindings": {
"g c c": "editor::ToggleComments"
"g c c": "vim::ToggleComments"
}
},
{
"context": "Editor && vim_mode == visual",
"bindings": {
"g c": "editor::ToggleComments"
"g c": "vim::ToggleComments"
}
},
{