From dd8863d0dea9726fa3e517292bc8d29c9dc1682c Mon Sep 17 00:00:00 2001 From: Conrad Irwin Date: Wed, 19 Jul 2023 10:24:23 -0600 Subject: [PATCH] Make tab non-functional in vim mode Fixes: zed-industries/community#988 Fixes: zed-industries/community#897 --- assets/keymaps/vim.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/assets/keymaps/vim.json b/assets/keymaps/vim.json index 2c406e3eb0..aa1e235414 100644 --- a/assets/keymaps/vim.json +++ b/assets/keymaps/vim.json @@ -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" } }, {