vim: add */#/g*/g# for jumping to next word

As in vim, this toggles the normal search experience.
This commit is contained in:
Conrad Irwin
2023-07-07 15:57:35 -06:00
parent 96ce0bb783
commit dbec2ed1f1
4 changed files with 152 additions and 4 deletions
+15 -1
View File
@@ -101,6 +101,8 @@
"vim::SwitchMode",
"Normal"
],
"*": "vim::MoveToNext",
"#": "vim::MoveToPrev",
"0": "vim::StartOfLine", // When no number operator present, use start of line motion
"1": [
"vim::Number",
@@ -240,7 +242,19 @@
"vim::SwitchMode",
"Normal"
],
"d": "editor::GoToDefinition"
"d": "editor::GoToDefinition",
"*": [
"vim::MoveToNext",
{
"partialWord": true
}
],
"#": [
"vim::MoveToPrev",
{
"partialWord": true
}
]
}
},
{