diff --git a/home/user/.config/tmux/mappings.conf b/home/user/.config/tmux/mappings.conf index 9d1e1ad..6094c6c 100644 --- a/home/user/.config/tmux/mappings.conf +++ b/home/user/.config/tmux/mappings.conf @@ -24,8 +24,10 @@ bind F12 send-keys F12 bind s choose-tree -ZsK '#{?#{e|<:#{line},9},#{e|+:1,#{line}},#{?#{e|<:#{line},35},M-#{a:#{e|+:97,#{e|-:#{line},9}}},}}' +# Switch new session +bind n new-session -c ~ # Switch new named session -bind n command-prompt -p "New session:" "new-session -A -s '%1' -c ~" +bind N command-prompt -p "New session:" "new-session -A -s '%1' -c ~" # Kill session