aboutsummaryrefslogtreecommitdiffstats
path: root/wezterm
diff options
context:
space:
mode:
authorGravatar Tom Willemse2026-06-19 12:20:59 -0700
committerGravatar Tom Willemse2026-07-02 17:59:21 -0700
commitaaa7961465c27fa185395270e7571dda437e2004 (patch)
tree3db2222ff18ff4109c4bebdf13cd21691b120e86 /wezterm
parent6d48ee5f1cf23851d11abaf6bbbebc43fde8ea77 (diff)
downloadnew-dotfiles-aaa7961465c27fa185395270e7571dda437e2004.tar.gz
new-dotfiles-aaa7961465c27fa185395270e7571dda437e2004.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