Created
July 8, 2014 02:44
-
-
Save rainyear/6bac87d120bb5819fa63 to your computer and use it in GitHub Desktop.
tmux config file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set -g prefix ^a | |
unbind ^b | |
bind a send-prefix | |
unbind '"' | |
bind - splitw -v -c "#{pane_current_path}"# 分割成上下两个窗口 | |
unbind % | |
bind = splitw -h -c "#{pane_current_path}"# 分割成左右两个窗口 | |
bind c new-window -c "#{pane_current_path}" | |
bind k selectp -U # 选择上窗格 | |
bind j selectp -D # 选择下窗格 | |
bind h selectp -L # 选择左窗格 | |
bind l selectp -R # 选择右窗格 | |
bind ^k resizep -U 10 # 跟选择窗格的设置相同,只是多加 Ctrl(Ctrl-k) | |
bind ^j resizep -D 10 # 同上 | |
bind ^h resizep -L 10 # ... | |
bind ^l resizep -R 10 # ... | |
setw -g mode-keys vi | |
set-option -g status-right "#(date +%H:%M' ')" | |
set-option -g status-utf8 on | |
set-option -g base-index 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment