Skip to content

Instantly share code, notes, and snippets.

@geraint0923
Created May 25, 2016 06:59
Show Gist options
  • Select an option

  • Save geraint0923/70ac3d010c409981518efa66c96e13c7 to your computer and use it in GitHub Desktop.

Select an option

Save geraint0923/70ac3d010c409981518efa66c96e13c7 to your computer and use it in GitHub Desktop.
set-window-option -g mode-keys vi
#setw -g mode-mouse on
#set-option -g mouse-select-pane on
bind-key | split-window -h
bind-key - split-window -v
# Automatically set window title
setw -g automatic-rename
# hSne traversal
bind-key -t vi-copy 'v' begin-selection
bind-key -t vi-copy 'y' copy-selection
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
setw -g mode-mouse on
setw -g mouse-resize-pane on
setw -g mouse-select-pane on
setw -g mouse-select-window on
bind ^k resizep -U 10
bind ^j resizep -D 10
bind ^h resizep -L 10
bind ^l resizep -R 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment