Merge pull request #968 from zed-industries/vim-visual-mode

Vim visual mode
This commit is contained in:
Keith Simmons
2022-05-10 12:51:58 -07:00
committed by GitHub
13 changed files with 629 additions and 113 deletions
+13 -1
View File
@@ -68,7 +68,11 @@
"shift-X": "vim::DeleteLeft",
"shift-^": "vim::FirstNonWhitespace",
"o": "vim::InsertLineBelow",
"shift-O": "vim::InsertLineAbove"
"shift-O": "vim::InsertLineAbove",
"v": [
"vim::SwitchMode",
"Visual"
]
}
},
{
@@ -100,6 +104,14 @@
"d": "vim::CurrentLine"
}
},
{
"context": "Editor && vim_mode == visual",
"bindings": {
"c": "vim::VisualChange",
"d": "vim::VisualDelete",
"x": "vim::VisualDelete"
}
},
{
"context": "Editor && vim_mode == insert",
"bindings": {