Skip to content

Instantly share code, notes, and snippets.

@bohford
Created January 23, 2011 03:22
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 bohford/791780 to your computer and use it in GitHub Desktop.
Save bohford/791780 to your computer and use it in GitHub Desktop.
My terrible tmux config, a work in progress for sure
set -g prefix C-q
unbind C-b
bind C-q send-prefix
# C-a u split window vetically
bind u split-window
# C-a i split window horizontally
bind i split-window -h
# C-a o donk off pane
bind o kill-pane
# C-a tab flip between panes
bind Tab last-pane
# C-a h go to left pane
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind C-f copy-mode
bind C-b copy-mode -u
bind C-t split-window -v -p 25
# Show messages and notifications for 2 seconds.
set-option -g display-time 2000
# Refresh the status bar every 1 second.
set-option -g status-interval 1000
set-option -g message-fg white
set-option -g message-bg black
set-option -g message-attr bright
set-option -g status-fg colour241 #colour117
set-option -g status-bg default #colour17
set-option -g status-attr default
set-window-option -g mode-keys vi # vi key
set-option -g status-keys vi
set-window-option -g utf8 on # utf8 support
set-window-option -g mode-mouse off # disable mouse
set-option -g bell-action none
set-option -g default-terminal "screen-256color"
set-option base-index 1 # start counting windows at 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment