✨ feat(tmux): add keybinding to close a session
This commit is contained in:
parent
9fb693d72e
commit
ccde29aa57
2 changed files with 3 additions and 1 deletions
|
@ -36,6 +36,9 @@ bind-key Q confirm-before kill-window
|
||||||
# Close a pane
|
# Close a pane
|
||||||
bind-key q confirm-before kill-pane
|
bind-key q confirm-before kill-pane
|
||||||
|
|
||||||
|
# Close a session
|
||||||
|
bind-key M-q confirm-before kill-session
|
||||||
|
|
||||||
# Swap windows
|
# Swap windows
|
||||||
bind -r "<" swap-window -d -t -1
|
bind -r "<" swap-window -d -t -1
|
||||||
bind -r ">" swap-window -d -t +1
|
bind -r ">" swap-window -d -t +1
|
||||||
|
|
|
@ -29,7 +29,6 @@ set -g @catppuccin_status_connect_separator "yes"
|
||||||
# Sessionx
|
# Sessionx
|
||||||
set -g @sessionx-bind 'space'
|
set -g @sessionx-bind 'space'
|
||||||
set -g @sessionx-filter-current 'false'
|
set -g @sessionx-filter-current 'false'
|
||||||
set -g @sessionx-window-mode 'on'
|
|
||||||
set -g @sessionx-preview-location 'top'
|
set -g @sessionx-preview-location 'top'
|
||||||
set -g @sessionx-preview-ratio '65%'
|
set -g @sessionx-preview-ratio '65%'
|
||||||
set -g @sessionx-window-height '95%'
|
set -g @sessionx-window-height '95%'
|
||||||
|
|
Loading…
Add table
Reference in a new issue