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='
|
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
|
# Choose session with key index starting from 1
|
||||||
@ -30,7 +30,7 @@ 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}}},}}'
|
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="
|
set -g command-alias[110] default-layout="
|
||||||
resize-pane -x $_tmux_main_pane_size
|
resize-pane -x $_tmux_main_pane_size
|
||||||
|
|||||||
@ -53,7 +53,7 @@ bind H command-prompt -p "Remote host:" "new-session -s 'ssh-%1' -A ssh %1 \; se
|
|||||||
bind ';' command-prompt
|
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'
|
bind l choose-window -w -Z 'link-window -s "%%" -a'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user