From 12338c877a19abbda3ab826b8e131e9acc3ae970 Mon Sep 17 00:00:00 2001 From: gwbeip Date: Thu, 22 Jan 2026 09:44:52 +0800 Subject: [PATCH] zed keymap.json --- .gitignore | 2 ++ .zed/settings.json | 0 zed/keymap.json | 9 +++++++++ zsh/functions/config_starship.sh | 2 +- 4 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 .gitignore delete mode 100644 .zed/settings.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2c1ed47 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.zed +.vscode diff --git a/.zed/settings.json b/.zed/settings.json deleted file mode 100644 index e69de29..0000000 diff --git a/zed/keymap.json b/zed/keymap.json index f999d67..927ec6e 100644 --- a/zed/keymap.json +++ b/zed/keymap.json @@ -43,4 +43,13 @@ "shift-f": "vim::PushSneakBackward", }, }, + { + "context": "Terminal", + "bindings": { + // Overrides for conflicting keybindings + "ctrl-t": ["terminal::SendKeystroke", "ctrl-t"], + "ctrl-n": ["terminal::SendKeystroke", "ctrl-n"], + "ctrl-p": ["terminal::SendKeystroke", "ctrl-p"], + }, + }, ] diff --git a/zsh/functions/config_starship.sh b/zsh/functions/config_starship.sh index 4c6d3b0..5934280 100644 --- a/zsh/functions/config_starship.sh +++ b/zsh/functions/config_starship.sh @@ -21,4 +21,4 @@ function startship_polyjuice() { else ln -sf "$STARSHIP_CONFIG_FILE" "$starship_config_file" fi -} \ No newline at end of file +}