Last active
October 16, 2015 13:09
-
-
Save bitdust/e0bbb8d68da197051ec6 to your computer and use it in GitHub Desktop.
This file contains 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
# 替换tmux prefix键为 Ctrl+a | |
set -g prefix C-a | |
bind-key C-a send-prefix | |
unbind C-b | |
# zoom pane <-> window | |
#http://tmux.svn.sourceforge.net/viewvc/tmux/trunk/examples/tmux-zoom.sh | |
bind ^z run "tmux-zoom" | |
## | |
#copy-mode 将快捷键设置为vi 模式 | |
setw -g mode-keys vi | |
#将r 设置为加载配置文件,并显示"reloaded!"信息 | |
bind r source-file ~/.tmux.conf \; display "Reloaded!" | |
#up | |
bind-key k select-pane -U | |
#down | |
bind-key j select-pane -D | |
#left | |
bind-key h select-pane -L | |
#right | |
bind-key l select-pane -R | |
#select last window | |
bind-key C-l select-window -l | |
# 关闭状态栏 | |
set -g status off |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment