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:
Conrad Irwin 2023-07-19 16:26:32 -06:00 committed by GitHub
commit b13e86aba6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,6 +30,8 @@
"j": "vim::Down",
"down": "vim::Down",
"enter": "vim::NextLineStart",
"tab": "vim::Tab",
"shift-tab": "vim::Tab",
"k": "vim::Up",
"up": "vim::Up",
"l": "vim::Right",
@ -205,7 +207,7 @@
"?": [
"vim::Search",
{
"backwards": true,
"backwards": true
}
],
"ctrl-f": "vim::PageDown",
@ -282,7 +284,7 @@
"bindings": {
"t": "editor::ScrollCursorTop",
"z": "editor::ScrollCursorCenter",
"b": "editor::ScrollCursorBottom",
"b": "editor::ScrollCursorBottom"
}
},
{
@ -337,7 +339,7 @@
"bindings": {
"escape": "vim::NormalBefore",
"ctrl-c": "vim::NormalBefore",
"ctrl-[": "vim::NormalBefore",
"ctrl-[": "vim::NormalBefore"
}
},
{