feat(tmux): add keybindings to close panes and windows

This commit is contained in:
Sergio Laín 2024-08-03 17:28:21 +02:00
parent 4eafaf3fc8
commit cc5a77f6b0
No known key found for this signature in database
GPG key ID: 8429B2EE312F8150

View file

@ -30,6 +30,12 @@ bind-key r command-prompt -I "#W" "rename-window '%%'"
bind j switch-client -n
bind k switch-client -p
# Close a window
bind-key Q confirm-before kill-window
# Close a pane
bind-key q confirm-before kill-pane
# Swap windows
bind -r "<" swap-window -d -t -1
bind -r ">" swap-window -d -t +1