sync delete word between terminal and gui programs

This commit is contained in:
♥ Minnie ♥ 2024-04-01 09:59:06 +08:00
parent cc3a9a7bdf
commit 4df9e90d71

View file

@ -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