Browse Source

Update tmux add shortcut to full screen

Signed-off-by: Ein Verne <[email protected]>
pull/4/head
Ein Verne 7 years ago
parent
commit
b2d711f872
  1. 6
      tmux/.tmux.conf

6
tmux/.tmux.conf

@ -68,6 +68,12 @@ bind _ split-window -v -c "#{pane_current_path}"
unbind '"' unbind '"'
unbind % unbind %
# 快速调整窗口到全屏
unbind Up
bind Up new-window -d -n tmp \; swap-pane -s tmp.1 \; select-window -t tmp
unbind Down
bind Down last-window \; swap-pane -s tmp. \; kill-window -t tmp
# in version 2.3 and below https://github.com/tmux/tmux/commit/76d6d3641f271be1756e41494960d96714e7ee58 # in version 2.3 and below https://github.com/tmux/tmux/commit/76d6d3641f271be1756e41494960d96714e7ee58
setw -g mode-keys vi setw -g mode-keys vi
bind-key -t vi-copy 'v' begin-selection bind-key -t vi-copy 'v' begin-selection

Loading…
Cancel
Save