feat(tmux):mappings
This commit is contained in:
parent
1fbc34084d
commit
3e8302a38e
@ -17,6 +17,10 @@ bind -T off F12 \
|
|||||||
set status on
|
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
|
# Switch new named session
|
||||||
bind n command-prompt -p "New session:" "new-session -A -d -s '%1' \; switch-client -t '%1'"
|
bind n command-prompt -p "New session:" "new-session -A -d -s '%1' \; switch-client -t '%1'"
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user