Browse Source

Fix unknown key split-window (#4)

closes #3
ubuntu_ci
Ein Verne 4 years ago committed by GitHub
parent
commit
031ec89274
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 18
      tmux/.tmux.conf

18
tmux/.tmux.conf

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

Loading…
Cancel
Save