aboutsummaryrefslogtreecommitdiffstats
path: root/wezterm
diff options
context:
space:
mode:
authorGravatar Tom Willemse2026-06-19 12:20:59 -0700
committerGravatar Tom Willemse2026-08-26 23:04:25 -0700
commitacbb07134e0d36d75a60cb9e906aac786741ded4 (patch)
tree480d12bb800a526e797bcef9c36539bc317cdad3 /wezterm
parent4505ae7f166c3a5c386bc147f38db27392744df8 (diff)
downloadnew-dotfiles-acbb07134e0d36d75a60cb9e906aac786741ded4.tar.gz
new-dotfiles-acbb07134e0d36d75a60cb9e906aac786741ded4.zip
wezterm: Add keybinding to send leader key back to terminal
C-c is used quite a lot in the terminal, so I need to be able to actually send it there.
Diffstat (limited to 'wezterm')
-rw-r--r--wezterm/.config/wezterm/wezterm.fnl4
1 files changed, 3 insertions, 1 deletions
diff --git a/wezterm/.config/wezterm/wezterm.fnl b/wezterm/.config/wezterm/wezterm.fnl
index fcf6ac3..611624d 100644
--- a/wezterm/.config/wezterm/wezterm.fnl
+++ b/wezterm/.config/wezterm/wezterm.fnl
@@ -31,7 +31,9 @@
copy-guix-hash-key
{ :key "o" :mods "ALT" :action wezterm.action.PaneSelect }
{ :key "p" :mods "ALT" :action (wezterm.action.ScrollToPrompt -1) }
- { :key "n" :mods "ALT" :action (wezterm.action.ScrollToPrompt 1) } ])
+ { :key "n" :mods "ALT" :action (wezterm.action.ScrollToPrompt 1) }
+ { :key "c" :mods "LEADER" :action (wezterm.action.SendKey { :key "c" :mods "CTRL" }) }
+ { :key "c" :mods "LEADER|CTRL" :action (wezterm.action.SendKey { :key "c" :mods "CTRL" }) }])
(local inactive_pane_hsb
{ :saturation 0.8