Skip to content

Instantly share code, notes, and snippets.

@zhigang1992
Created November 19, 2014 08:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zhigang1992/57b52d10c5da7109dd22 to your computer and use it in GitHub Desktop.
Save zhigang1992/57b52d10c5da7109dd22 to your computer and use it in GitHub Desktop.
tmux.conf
set-window-option -g mode-keys vi
set-option -g status-keys vi
# switch windows alt+number
bind-key -n M-1 select-window -t 1
bind-key -n M-2 select-window -t 2
bind-key -n M-3 select-window -t 3
bind-key -n M-4 select-window -t 4
bind-key -n M-5 select-window -t 5
bind-key -n M-6 select-window -t 6
bind-key -n M-7 select-window -t 7
bind-key -n M-8 select-window -t 8
bind-key -n M-9 select-window -t 9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment