Skip to content

Instantly share code, notes, and snippets.

@josketres
Forked from FlaviuSim/.tmux.conf
Created February 21, 2014 18:40
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save josketres/9140475 to your computer and use it in GitHub Desktop.
Save josketres/9140475 to your computer and use it in GitHub Desktop.
# use vi mode
setw -g mode-keys vi
# remap prefix to Control + a
set -g prefix C-a
unbind C-b
bind C-a send-prefix
# force a reload of the config file
unbind r
bind r source-file ~/.tmux.conf
# quick pane cycling with Ctrl-a
unbind ^A
bind ^A select-pane -t :.+
# move around panes like in vim (only in tmux 1.6)
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind h select-pane -L
# Sane scrolling
set -g mode-mouse on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment