|
|
@ -49,10 +49,10 @@ set -g visual-activity off |
|
|
|
# 调节窗口大小快捷键 |
|
|
|
# 调节窗口大小快捷键 |
|
|
|
# bind -r 表示可以重复 |
|
|
|
# bind -r 表示可以重复 |
|
|
|
# 注意这里时大写,需要按住 Shift + HJKL |
|
|
|
# 注意这里时大写,需要按住 Shift + HJKL |
|
|
|
bind -r H resize-pane -L 5 |
|
|
|
bind-key -r H resize-pane -L 5 |
|
|
|
bind -r J resize-pane -D 5 |
|
|
|
bind-key -r J resize-pane -D 5 |
|
|
|
bind -r K resize-pane -U 5 |
|
|
|
bind-key -r K resize-pane -U 5 |
|
|
|
bind -r L resize-pane -R 5 |
|
|
|
bind-key -r L resize-pane -R 5 |
|
|
|
|
|
|
|
|
|
|
|
# move between panels using hjkl like in vim up |
|
|
|
# move between panels using hjkl like in vim up |
|
|
|
#bind-key k select-pane -U |
|
|
|
#bind-key k select-pane -U |
|
|
@ -71,11 +71,11 @@ bind -r L resize-pane -R 5 |
|
|
|
# bind -n M-Up select-pane -U |
|
|
|
# bind -n M-Up select-pane -U |
|
|
|
# bind -n M-Down select-pane -D |
|
|
|
# bind -n M-Down select-pane -D |
|
|
|
|
|
|
|
|
|
|
|
# split panes using | and - |
|
|
|
# split panes using | and - or shift \ and shift - |
|
|
|
bind \ split-window -h -c "#{pane_current_path}" |
|
|
|
bind-key "\\" split-window -h -c "#{pane_current_path}" |
|
|
|
bind | split-window -h -c "#{pane_current_path}" |
|
|
|
bind-key "\|" split-window -h -c "#{pane_current_path}" |
|
|
|
bind - split-window -v -c "#{pane_current_path}" |
|
|
|
bind-key "-" split-window -v -c "#{pane_current_path}" |
|
|
|
bind _ split-window -v -c "#{pane_current_path}" |
|
|
|
bind-key "_" split-window -v -c "#{pane_current_path}" |
|
|
|
unbind '"' |
|
|
|
unbind '"' |
|
|
|
unbind % |
|
|
|
unbind % |
|
|
|
|
|
|
|
|
|
|
|