mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-12 13:24:19 +00:00
Make tab non-functional in vim mode (#2753)
Make tab do nothing (a surprisingly common vim request). - Fixes ([#988](https://github.com/zed-industries/community/issues/988)). - Fixes ([#897](https://github.com/zed-industries/community/issues/897)).
This commit is contained in:
commit
b13e86aba6
1 changed files with 5 additions and 3 deletions
|
@ -30,6 +30,8 @@
|
||||||
"j": "vim::Down",
|
"j": "vim::Down",
|
||||||
"down": "vim::Down",
|
"down": "vim::Down",
|
||||||
"enter": "vim::NextLineStart",
|
"enter": "vim::NextLineStart",
|
||||||
|
"tab": "vim::Tab",
|
||||||
|
"shift-tab": "vim::Tab",
|
||||||
"k": "vim::Up",
|
"k": "vim::Up",
|
||||||
"up": "vim::Up",
|
"up": "vim::Up",
|
||||||
"l": "vim::Right",
|
"l": "vim::Right",
|
||||||
|
@ -205,7 +207,7 @@
|
||||||
"?": [
|
"?": [
|
||||||
"vim::Search",
|
"vim::Search",
|
||||||
{
|
{
|
||||||
"backwards": true,
|
"backwards": true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"ctrl-f": "vim::PageDown",
|
"ctrl-f": "vim::PageDown",
|
||||||
|
@ -282,7 +284,7 @@
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"t": "editor::ScrollCursorTop",
|
"t": "editor::ScrollCursorTop",
|
||||||
"z": "editor::ScrollCursorCenter",
|
"z": "editor::ScrollCursorCenter",
|
||||||
"b": "editor::ScrollCursorBottom",
|
"b": "editor::ScrollCursorBottom"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -337,7 +339,7 @@
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"escape": "vim::NormalBefore",
|
"escape": "vim::NormalBefore",
|
||||||
"ctrl-c": "vim::NormalBefore",
|
"ctrl-c": "vim::NormalBefore",
|
||||||
"ctrl-[": "vim::NormalBefore",
|
"ctrl-[": "vim::NormalBefore"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue