Created
May 21, 2012 19:33
-
-
Save psteiner/2764165 to your computer and use it in GitHub Desktop.
My tmux configuration file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# bind tmux commands to Ctrl-A for Vim compatibility | |
# and better ergonomics :) | |
unbind C-b | |
set -g prefix C-a | |
# Ctrl-A Ctrl-A switches to last window | |
bind C-a last-window | |
bind a send-prefix | |
# Rebind Ctrl-| to split the window horizontally [ | ] | |
# inserts a split vertically | |
unbind % | |
bind | split-window -h | |
# Bind Ctrl-- (dash) to split the window vertically [ --- ] | |
# inserts a split horizontally | |
bind - split-window -v | |
# start window numbering at 1 | |
set -g base-index 1 | |
# set the status bar look 'n feel | |
set -g status-bg black | |
set -g status-fg white | |
set -g status-left '#[fg=green]#H' | |
# enable aggressive resize when using multiple clients | |
# setw -g aggressive-resize on | |
# vim key bindings | |
setw -g mode-keys vi | |
# highlight active window | |
set-window-option -g window-status-current-bg red | |
# tell tmux to use 256 colors | |
set -g default-terminal "screen-256color" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment