2022-04-21 20:33:39 +00:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"context": "Editor && VimControl",
|
|
|
|
"bindings": {
|
|
|
|
"g": [
|
|
|
|
"vim::PushOperator",
|
|
|
|
{
|
|
|
|
"Namespace": "G"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"h": "vim::Left",
|
2022-05-24 20:35:57 +00:00
|
|
|
"backspace": "vim::Left",
|
2022-04-21 20:33:39 +00:00
|
|
|
"j": "vim::Down",
|
|
|
|
"k": "vim::Up",
|
|
|
|
"l": "vim::Right",
|
|
|
|
"0": "vim::StartOfLine",
|
|
|
|
"shift-$": "vim::EndOfLine",
|
|
|
|
"shift-G": "vim::EndOfDocument",
|
|
|
|
"w": "vim::NextWordStart",
|
|
|
|
"shift-W": [
|
|
|
|
"vim::NextWordStart",
|
|
|
|
{
|
|
|
|
"ignorePunctuation": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"e": "vim::NextWordEnd",
|
|
|
|
"shift-E": [
|
|
|
|
"vim::NextWordEnd",
|
|
|
|
{
|
|
|
|
"ignorePunctuation": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"b": "vim::PreviousWordStart",
|
|
|
|
"shift-B": [
|
|
|
|
"vim::PreviousWordStart",
|
|
|
|
{
|
|
|
|
"ignorePunctuation": true
|
|
|
|
}
|
|
|
|
],
|
2022-07-01 22:06:16 +00:00
|
|
|
"shift-%": "vim::Matching",
|
2022-06-30 19:32:53 +00:00
|
|
|
"escape": "editor::Cancel"
|
2022-04-21 20:33:39 +00:00
|
|
|
}
|
2022-04-15 23:00:44 +00:00
|
|
|
},
|
2022-04-21 20:33:39 +00:00
|
|
|
{
|
2022-06-30 19:32:53 +00:00
|
|
|
"context": "Editor && vim_mode == normal && vim_operator == none",
|
2022-04-21 20:33:39 +00:00
|
|
|
"bindings": {
|
|
|
|
"c": [
|
|
|
|
"vim::PushOperator",
|
|
|
|
"Change"
|
|
|
|
],
|
2022-04-22 16:43:15 +00:00
|
|
|
"shift-C": "vim::ChangeToEndOfLine",
|
2022-04-21 20:33:39 +00:00
|
|
|
"d": [
|
|
|
|
"vim::PushOperator",
|
|
|
|
"Delete"
|
2022-04-22 16:43:15 +00:00
|
|
|
],
|
|
|
|
"shift-D": "vim::DeleteToEndOfLine",
|
2022-05-23 16:23:25 +00:00
|
|
|
"y": [
|
|
|
|
"vim::PushOperator",
|
|
|
|
"Yank"
|
|
|
|
],
|
2022-04-22 16:43:15 +00:00
|
|
|
"i": [
|
|
|
|
"vim::SwitchMode",
|
|
|
|
"Insert"
|
|
|
|
],
|
|
|
|
"shift-I": "vim::InsertFirstNonWhitespace",
|
|
|
|
"a": "vim::InsertAfter",
|
|
|
|
"shift-A": "vim::InsertEndOfLine",
|
|
|
|
"x": "vim::DeleteRight",
|
|
|
|
"shift-X": "vim::DeleteLeft",
|
2022-04-29 23:14:01 +00:00
|
|
|
"shift-^": "vim::FirstNonWhitespace",
|
|
|
|
"o": "vim::InsertLineBelow",
|
2022-05-03 17:29:57 +00:00
|
|
|
"shift-O": "vim::InsertLineAbove",
|
|
|
|
"v": [
|
|
|
|
"vim::SwitchMode",
|
2022-05-24 20:35:57 +00:00
|
|
|
{
|
|
|
|
"Visual": {
|
|
|
|
"line": false
|
|
|
|
}
|
|
|
|
}
|
2022-05-18 18:10:24 +00:00
|
|
|
],
|
2022-05-19 00:41:26 +00:00
|
|
|
"shift-V": [
|
2022-05-18 18:10:24 +00:00
|
|
|
"vim::SwitchMode",
|
2022-05-24 20:35:57 +00:00
|
|
|
{
|
|
|
|
"Visual": {
|
|
|
|
"line": true
|
|
|
|
}
|
|
|
|
}
|
2022-05-20 00:42:30 +00:00
|
|
|
],
|
2022-05-23 16:23:25 +00:00
|
|
|
"p": "vim::Paste",
|
|
|
|
"u": "editor::Undo",
|
|
|
|
"ctrl-r": "editor::Redo",
|
2022-06-30 19:32:53 +00:00
|
|
|
"ctrl-o": "pane::GoBack",
|
|
|
|
"/": [
|
|
|
|
"buffer_search::Deploy",
|
|
|
|
{
|
|
|
|
"focus": true
|
|
|
|
}
|
|
|
|
]
|
2022-04-22 16:43:15 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"context": "Editor && vim_operator == g",
|
|
|
|
"bindings": {
|
|
|
|
"g": "vim::StartOfDocument",
|
2022-06-07 18:47:17 +00:00
|
|
|
"h": "editor::Hover",
|
2022-04-22 16:43:15 +00:00
|
|
|
"escape": [
|
|
|
|
"vim::SwitchMode",
|
|
|
|
"Normal"
|
2022-04-21 20:33:39 +00:00
|
|
|
]
|
|
|
|
}
|
2022-04-15 23:00:44 +00:00
|
|
|
},
|
2022-04-21 20:33:39 +00:00
|
|
|
{
|
|
|
|
"context": "Editor && vim_operator == c",
|
|
|
|
"bindings": {
|
2022-04-21 23:14:58 +00:00
|
|
|
"w": "vim::ChangeWord",
|
2022-04-21 20:33:39 +00:00
|
|
|
"shift-W": [
|
2022-04-21 23:14:58 +00:00
|
|
|
"vim::ChangeWord",
|
2022-04-21 20:33:39 +00:00
|
|
|
{
|
|
|
|
"ignorePunctuation": true
|
|
|
|
}
|
2022-04-22 16:43:15 +00:00
|
|
|
],
|
|
|
|
"c": "vim::CurrentLine"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"context": "Editor && vim_operator == d",
|
|
|
|
"bindings": {
|
|
|
|
"d": "vim::CurrentLine"
|
|
|
|
}
|
|
|
|
},
|
2022-05-23 16:23:25 +00:00
|
|
|
{
|
|
|
|
"context": "Editor && vim_operator == y",
|
|
|
|
"bindings": {
|
|
|
|
"y": "vim::CurrentLine"
|
|
|
|
}
|
|
|
|
},
|
2022-05-03 17:29:57 +00:00
|
|
|
{
|
|
|
|
"context": "Editor && vim_mode == visual",
|
|
|
|
"bindings": {
|
|
|
|
"c": "vim::VisualChange",
|
|
|
|
"d": "vim::VisualDelete",
|
2022-05-23 16:23:25 +00:00
|
|
|
"x": "vim::VisualDelete",
|
2022-07-05 04:10:20 +00:00
|
|
|
"y": "vim::VisualYank",
|
2022-07-08 17:57:02 +00:00
|
|
|
"p": "vim::VisualPaste"
|
2022-05-03 17:29:57 +00:00
|
|
|
}
|
|
|
|
},
|
2022-04-22 16:43:15 +00:00
|
|
|
{
|
|
|
|
"context": "Editor && vim_mode == insert",
|
|
|
|
"bindings": {
|
|
|
|
"escape": "vim::NormalBefore",
|
|
|
|
"ctrl-c": "vim::NormalBefore"
|
|
|
|
}
|
2022-04-11 22:54:52 +00:00
|
|
|
}
|
2022-04-21 20:33:39 +00:00
|
|
|
]
|