feat(tmux):mappings

This commit is contained in:
thek4n 2024-04-08 08:46:11 +03:00
parent 1fbc34084d
commit 3e8302a38e

View File

@ -17,6 +17,10 @@ bind -T off F12 \
set status on
# Choose session with key index starting from 1
bind-key s choose-tree -ZsK '#{?#{e|<:#{line},9},#{e|+:1,#{line}},#{?#{e|<:#{line},35},M-#{a:#{e|+:97,#{e|-:#{line},9}}},}}'
# Switch new named session
bind n command-prompt -p "New session:" "new-session -A -d -s '%1' \; switch-client -t '%1'"