Skip to content

Instantly share code, notes, and snippets.

@apraga
Created November 30, 2012 09:59
Show Gist options
  • Save apraga/4174883 to your computer and use it in GitHub Desktop.
Save apraga/4174883 to your computer and use it in GitHub Desktop.
Tmux configuration
# 256 colors
set -g default-terminal screen-256color
set-window-option -g xterm-keys on
# Scrolling
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
# remap prefix to Control + a
set -g prefix C-a
unbind C-b
bind C-a send-prefix
# Faster escape for vim
set -s escape-time 0
# Vi navigation
setw -g mode-keys vi
# For bepo : need to change navigation
bind-key s select-pane -U
bind-key t select-pane -D
bind-key c select-pane -L
bind-key r select-pane -R
# And remap new window
bind-key w new-window
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment