vim: Fix minor keybinding bugs (#13086)
Fixes: #13068 Fixes: #9383 Release Notes: - vim: Fixed `home` and `end` in visual mode (#13068) - vim: Fixed inserting a 0 in insert mode with a count (#9383)
This commit is contained in:
parent
fc19cc0ddf
commit
7cc2538fe1
1 changed files with 4 additions and 2 deletions
|
@ -39,6 +39,7 @@
|
|||
"right": "vim::Right",
|
||||
"space": "vim::Space",
|
||||
"$": "vim::EndOfLine",
|
||||
"end": "vim::EndOfLine",
|
||||
"^": "vim::FirstNonWhitespace",
|
||||
"_": "vim::StartOfLineDownward",
|
||||
"g _": "vim::EndOfLineDownward",
|
||||
|
@ -140,7 +141,8 @@
|
|||
"ctrl-q": "vim::ToggleVisualBlock",
|
||||
"shift-k": "editor::Hover",
|
||||
"shift-r": "vim::ToggleReplace",
|
||||
"0": "vim::StartOfLine", // When no number operator present, use start of line motion
|
||||
"0": "vim::StartOfLine",
|
||||
"home": "vim::StartOfLine",
|
||||
"ctrl-f": "vim::PageDown",
|
||||
"pagedown": "vim::PageDown",
|
||||
"ctrl-b": "vim::PageUp",
|
||||
|
@ -408,7 +410,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"context": "Editor && VimCount",
|
||||
"context": "Editor && VimCount && vim_mode != insert",
|
||||
"bindings": {
|
||||
"0": ["vim::Number", 0]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue