vim counts (#2958)
Release Notes: - vim: Fix counts with operators (`2yy`, `d3d`, etc.) ([#1496](https://github.com/zed-industries/community/issues/1496)) ([#970](https://github.com/zed-industries/community/issues/970)). - vim: Add support for counts with insert actions (`2i`, `2o`, `2a`, etc.) - vim: add `_` and `g_`
This commit is contained in:
commit
329a0724e0
24 changed files with 792 additions and 319 deletions
|
@ -540,7 +540,7 @@
|
|||
// TODO: Move this to a dock open action
|
||||
"cmd-shift-c": "collab_panel::ToggleFocus",
|
||||
"cmd-alt-i": "zed::DebugElements",
|
||||
"ctrl-:": "editor::ToggleInlayHints",
|
||||
"ctrl-:": "editor::ToggleInlayHints"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
@ -32,6 +32,8 @@
|
|||
"right": "vim::Right",
|
||||
"$": "vim::EndOfLine",
|
||||
"^": "vim::FirstNonWhitespace",
|
||||
"_": "vim::StartOfLineDownward",
|
||||
"g _": "vim::EndOfLineDownward",
|
||||
"shift-g": "vim::EndOfDocument",
|
||||
"w": "vim::NextWordStart",
|
||||
"{": "vim::StartOfParagraph",
|
||||
|
@ -326,7 +328,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"context": "Editor && vim_mode == normal && (vim_operator == none || vim_operator == n) && !VimWaiting",
|
||||
"context": "Editor && vim_mode == normal && vim_operator == none && !VimWaiting",
|
||||
"bindings": {
|
||||
".": "vim::Repeat",
|
||||
"c": [
|
||||
|
@ -389,7 +391,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"context": "Editor && vim_operator == n",
|
||||
"context": "Editor && VimCount",
|
||||
"bindings": {
|
||||
"0": [
|
||||
"vim::Number",
|
||||
|
@ -497,7 +499,7 @@
|
|||
"around": true
|
||||
}
|
||||
}
|
||||
],
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue