caio.co/de/dotfiles

wezterm: leader+w to close pane

Id
421f9f3973fb36d1d320335cc76056dc391260ff
Author
Caio
Commit time
2023-07-24T07:36:31+02:00

Modified config/wezterm/keys.lua

@@ -13,6 +13,7

{ key = 'c', mods = 'LEADER', action = act.SpawnTab 'CurrentPaneDomain' },
{ key = 'K', mods = 'LEADER', action = act.CloseCurrentTab{ confirm = true } },
+ { key = 'w', mods = 'LEADER', action = act.CloseCurrentPane{ confirm = true } },
{ key = ',', mods = 'LEADER', action = act.PromptInputLine {
description = 'Enter new tab name',
action = wezterm.action_callback(function(window, pane, line)