1
0
Fork 0
mirror of synced 2024-12-04 14:45:38 -05:00

Compare commits

...

2 commits

Author SHA1 Message Date
Dr Amr Osman
b130d0aa31
Merge b1f66acae3 into e8ef9a6f72 2024-10-25 16:34:45 +03:00
Dr Amr Osman
b1f66acae3
Update .tmux.conf
add create a session with name and kill
2024-03-24 19:08:13 +02:00

View file

@ -63,9 +63,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 %%'