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