From 4df9e90d712e8dc706b0bdfe79f29ece1533361c Mon Sep 17 00:00:00 2001 From: sajenim Date: Mon, 1 Apr 2024 09:59:06 +0800 Subject: [PATCH] sync delete word between terminal and gui programs --- .../sajenim/features/desktop/jade/wezterm/config/wezterm.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/home-manager/sajenim/features/desktop/jade/wezterm/config/wezterm.lua b/home-manager/sajenim/features/desktop/jade/wezterm/config/wezterm.lua index 923f6e7..356054e 100644 --- a/home-manager/sajenim/features/desktop/jade/wezterm/config/wezterm.lua +++ b/home-manager/sajenim/features/desktop/jade/wezterm/config/wezterm.lua @@ -109,6 +109,9 @@ config.keys = { --| Copy Mode / Clipboard { key = 'X', mods = 'CTRL', action = act.ActivateCopyMode, }, { key = 'V', mods = 'CTRL', action = act.PasteFrom 'Clipboard', }, + + --| This lets us unify delete word across programs + { key = 'Backspace', mods = 'CTRL', action = act.SendKey {key = 'w', mods = 'CTRL'} }, } return config