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: ctrl+] and ctrl+o to jump to definition and back

Conrad Irwin0c40ed5d854d
diff --git a/assets/keymaps/vim.json b/assets/keymaps/vim.json
index 74625b1ea81..e6fca1e28f3 100644
--- a/assets/keymaps/vim.json
+++ b/assets/keymaps/vim.json
@@ -94,6 +94,8 @@
}
}
],
+ "ctrl-o": "pane::GoBack",
+ "ctrl-]": "editor::GoToDefinition",
"escape": "editor::Cancel",
"0": "vim::StartOfLine", // When no number operator present, use start of line motion
"1": [
@@ -188,7 +190,6 @@
"p": "vim::Paste",
"u": "editor::Undo",
"ctrl-r": "editor::Redo",
- "ctrl-o": "pane::GoBack",
"/": [
"buffer_search::Deploy",
{