✨ feat(tmux): add keybindings to close panes and windows
This commit is contained in:
parent
4eafaf3fc8
commit
cc5a77f6b0
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue