Skip to content

Instantly share code, notes, and snippets.

@futuro
Created April 29, 2016 18:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save futuro/6437cd60eeac18cb1a05087f38cedc1a to your computer and use it in GitHub Desktop.
Save futuro/6437cd60eeac18cb1a05087f38cedc1a to your computer and use it in GitHub Desktop.
tmux config
set-option -g prefix 'C-\'
unbind-key C-b
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
# Make sure that window creation commands keep my PWD
bind-key 'c' new-window -c '#{pane_current_path}'
bind-key '"' split-window -c '#{pane_current_path}'
bind-key '%' split-window -h -c '#{pane_current_path}'
bind-key C-\ last-window
bind-key \ send-prefix
set-option -g history-limit 30000
set-window-option -g mode-keys vi
#set-option -g default-terminal rxvt-256color
set-option -g default-terminal screen-256color
# vim: et ts=4 sw=4 ft=tmux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment