diff --git a/.tmux.conf b/.tmux.conf index c9efd01..b341378 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -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 %%'