Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

vim: Add `Ctrl-w ]` and `Ctrl-w Ctrl-]` keymaps (#31990)

Alejandro Fernández Gómez89743117c6ee
diff --git a/assets/keymaps/vim.json b/assets/keymaps/vim.json
index 04eb4aef8ef..29b3fbb8b51 100644
--- a/assets/keymaps/vim.json
+++ b/assets/keymaps/vim.json
@@ -198,6 +198,8 @@
"9": ["vim::Number", 9],
"ctrl-w d": "editor::GoToDefinitionSplit",
"ctrl-w g d": "editor::GoToDefinitionSplit",
+ "ctrl-w ]": "editor::GoToDefinitionSplit",
+ "ctrl-w ctrl-]": "editor::GoToDefinitionSplit",
"ctrl-w shift-d": "editor::GoToTypeDefinitionSplit",
"ctrl-w g shift-d": "editor::GoToTypeDefinitionSplit",
"ctrl-w space": "editor::OpenExcerptsSplit",