Vim: substitute support (#2641)

Release Notes:

- vim mode now supports `s` for substitute
This commit is contained in:
Max Brunsfeld
2023-06-23 12:58:14 -07:00
committed by GitHub
3 changed files with 82 additions and 2 deletions
+4 -2
View File
@@ -137,7 +137,7 @@
}
},
{
"context": "Editor && vim_mode == normal && vim_operator == none && !VimWaiting",
"context": "Editor && vim_mode == normal && (vim_operator == none || vim_operator == n) && !VimWaiting",
"bindings": {
"c": [
"vim::PushOperator",
@@ -220,7 +220,8 @@
"r": [
"vim::PushOperator",
"Replace"
]
],
"s": "vim::Substitute"
}
},
{
@@ -307,6 +308,7 @@
"x": "vim::VisualDelete",
"y": "vim::VisualYank",
"p": "vim::VisualPaste",
"s": "vim::Substitute",
"r": [
"vim::PushOperator",
"Replace"