Skip to content

Instantly share code, notes, and snippets.

@trkoch
Created May 21, 2014 16:41
Show Gist options
  • Save trkoch/a843884666823bce50b2 to your computer and use it in GitHub Desktop.
Save trkoch/a843884666823bce50b2 to your computer and use it in GitHub Desktop.
Basic tmux config
# Inherit current path in new window
bind-key c new-window -c "#{pane_current_path}"
# Enable mouse scrolling
set-window-option -g mode-mouse on
# Remap window navigation to vim
unbind-key j
bind-key j select-pane -D
unbind-key k
bind-key k select-pane -U
unbind-key h
bind-key h select-pane -L
unbind-key l
bind-key l select-pane -R
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment