Fix visual objects

Adds 'a'/'i' in visual mode
This commit is contained in:
Conrad Irwin
2023-08-17 17:13:23 -06:00
parent d4276acab8
commit b0ba0f8851
4 changed files with 107 additions and 15 deletions
+18 -2
View File
@@ -366,7 +366,7 @@
}
},
{
"context": "Editor && vim_mode == visual && !VimWaiting",
"context": "Editor && vim_mode == visual && !VimWaiting && !VimObject",
"bindings": {
"u": "editor::Undo",
"o": "vim::OtherEnd",
@@ -400,7 +400,23 @@
"Normal"
],
">": "editor::Indent",
"<": "editor::Outdent"
"<": "editor::Outdent",
"i": [
"vim::PushOperator",
{
"Object": {
"around": false
}
}
],
"a": [
"vim::PushOperator",
{
"Object": {
"around": true
}
}
],
}
},
{