1
0
Fork 0
mirror of synced 2024-12-04 06:35:37 -05:00

Update .tmux.conf

add create a session with name and kill
This commit is contained in:
Dr Amr Osman 2024-03-24 19:08:13 +02:00 committed by GitHub
parent a795f9ec51
commit b1f66acae3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -58,9 +58,13 @@ set -g visual-activity off
# -- navigation ----------------------------------------------------------------
These two settings let you create/kill a new session when pressing Prefix S (Shift+s) or Prefix K (Shift+k) respectively:
# create session
bind C-c new-session
bind C-s command-prompt -p "New Session:" "new-session -A -s '%%'"
# kill session
bind K confirm kill-session
# find session
bind C-f command-prompt -p find-session 'switch-client -t %%'