vim: add ctrl-a/ctrl-x

For zed-industries/community#1411
For zed-industries/community#619
This commit is contained in:
Conrad Irwin 2023-09-27 16:43:24 -06:00
parent 25429f760c
commit dd1cf5c3cf
6 changed files with 177 additions and 21 deletions

View file

@ -2,8 +2,6 @@
{
"context": "Editor && VimControl && !VimWaiting && !menu",
"bindings": {
"ctrl-a": "vim::Increment",
"ctrl-x": "vim::Decrement",
"i": [
"vim::PushOperator",
{
@ -382,7 +380,7 @@
"shift-a": "vim::InsertEndOfLine",
"x": "vim::DeleteRight",
"shift-x": "vim::DeleteLeft",
"k": "vim::InsertLineBelow",
"o": "vim::InsertLineBelow",
"shift-o": "vim::InsertLineAbove",
"~": "vim::ChangeCase",
"ctrl-a": "vim::Increment",
@ -500,6 +498,18 @@
"~": "vim::ChangeCase",
"ctrl-a": "vim::Increment",
"ctrl-x": "vim::Decrement",
"g ctrl-a": [
"vim::Increment",
{
"step": true
}
],
"g ctrl-x": [
"vim::Decrement",
{
"step": true
}
],
"shift-i": "vim::InsertBefore",
"shift-a": "vim::InsertAfter",
"shift-j": "vim::JoinLines",