Skip to content

Instantly share code, notes, and snippets.

@kersny
Created March 8, 2013 19:52
Show Gist options
  • Save kersny/5119324 to your computer and use it in GitHub Desktop.
Save kersny/5119324 to your computer and use it in GitHub Desktop.
My tmux conf
set-option -g prefix C-a
#use "v" and "s" to do vertical/horizontal splits, like vim
bind s split-window -v
bind v split-window -h
# use the vim motion keys to move between panes
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# use vim motion keys while in copy mode
setw -g mode-keys vi
# use the vim resize keys.
# the number at the end is how much the pane will be resized,
# and 1 is fairly small -- you might want to tweak this.
bind - resize-pane -D 1
bind + resize-pane -U 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment