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.

linux: Add Keybinds Ctrl-Insert to Copy and Shift-Insert to Paste (#11799)

Thomas Aunvik0ae0b08c3895
diff --git a/assets/keymaps/default-linux.json b/assets/keymaps/default-linux.json
index 26a32dd44a4..86649b7990d 100644
--- a/assets/keymaps/default-linux.json
+++ b/assets/keymaps/default-linux.json
@@ -53,7 +53,9 @@
// "alt-d": "editor::DeleteToNextWordEnd",
"ctrl-x": "editor::Cut",
"ctrl-c": "editor::Copy",
+ "ctrl-insert": "editor::Copy",
"ctrl-v": "editor::Paste",
+ "shift-insert": "editor::Paste",
"ctrl-z": "editor::Undo",
"ctrl-shift-z": "editor::Redo",
"up": "editor::MoveUp",
@@ -546,7 +548,9 @@
"alt-ctrl-n": "project_panel::NewDirectory",
"ctrl-x": "project_panel::Cut",
"ctrl-c": "project_panel::Copy",
+ "ctrl-insert": "project_panel::Copy",
"ctrl-v": "project_panel::Paste",
+ "shift-insert": "project_panel::Paste",
"ctrl-alt-c": "project_panel::CopyPath",
"alt-ctrl-shift-c": "project_panel::CopyRelativePath",
"f2": "project_panel::Rename",
@@ -608,7 +612,9 @@
"bindings": {
"ctrl-alt-space": "terminal::ShowCharacterPalette",
"shift-ctrl-c": "terminal::Copy",
+ "ctrl-insert": "terminal::Copy",
"shift-ctrl-v": "terminal::Paste",
+ "shift-insert": "terminal::Paste",
"up": ["terminal::SendKeystroke", "up"],
"pageup": ["terminal::SendKeystroke", "pageup"],
"down": ["terminal::SendKeystroke", "down"],