tmux aliases
This commit is contained in:
parent
b34161c811
commit
9d94bfa4f9
@ -22,7 +22,7 @@ set -g command-alias[106] detach-other='if -F "#{session_many_attached}" {
|
||||
}'
|
||||
|
||||
set -g command-alias[107] toggle-synchronize-panes='
|
||||
if -F "#{pane_synchronized}" "setw synchronize-panes off" "setw synchronize-panes on"
|
||||
if -F "#{pane_synchronized}" "setw synchronize-panes off" "setw synchronize-panes on"
|
||||
'
|
||||
|
||||
# Choose session with key index starting from 1
|
||||
@ -30,9 +30,9 @@ set -g command-alias[108] choose-tree-index="
|
||||
choose-tree -ZsK '#{?#{e|<:#{line},9},#{e|+:1,#{line}},#{?#{e|<:#{line},35},M-#{a:#{e|+:97,#{e|-:#{line},9}}},}}'
|
||||
"
|
||||
|
||||
set -g command-alias[109] toggle-zoom-pane='resize-pane -Z'
|
||||
set -g command-alias[109] toggle-zoom='resize-pane -Z'
|
||||
|
||||
set -g command-alias[110] default-layout="
|
||||
resize-pane -x $_tmux_main_pane_size
|
||||
select-layout '6c98,213x55,0,0{72x55,0,0,72,140x55,73,0,73}'
|
||||
"
|
||||
"
|
||||
@ -53,7 +53,7 @@ bind H command-prompt -p "Remote host:" "new-session -s 'ssh-%1' -A ssh %1 \; se
|
||||
bind ';' command-prompt
|
||||
|
||||
|
||||
bind -n M-f toggle-zoom-pane
|
||||
bind -n M-f toggle-zoom
|
||||
|
||||
|
||||
bind l choose-window -w -Z 'link-window -s "%%" -a'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user