mirror of
https://github.com/samoshkin/tmux-config.git
synced 2026-01-16 23:08:01 +00:00
Add keybinding to close all other windows but current one
This commit is contained in:
@@ -86,8 +86,9 @@ bind -r C-o swap-pane -D
|
||||
# Kill pane/window/session shortcuts
|
||||
unbind &
|
||||
bind x kill-pane
|
||||
bind C-x confirm-before -p "kill-window #W? (y/n)" kill-window
|
||||
bind X confirm-before -p "kill-session #S? (y/n)" kill-session
|
||||
bind X kill-window
|
||||
bind C-x confirm-before -p "kill other windows? (y/n)" "kill-window -a"
|
||||
bind C-q confirm-before -p "kill-session #S? (y/n)" kill-session
|
||||
|
||||
# Merge session with another one (e.g. move all windows)
|
||||
# If you use adhoc 1-window sessions, and you want to preserve session upon exit
|
||||
|
||||
Reference in New Issue
Block a user