Created
December 14, 2011 22:53
-
-
Save tomkersten/1478955 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# act like vim | |
setw -g mode-keys vi | |
bind h select-pane -L | |
bind j select-pane -D | |
bind k select-pane -U | |
bind l select-pane -R | |
# Swap panes and maintain cursor | |
bind-key C-j swap-pane -D -d | |
bind-key C-k swap-pane -U -d | |
# Don't require confirmation before killing pane | |
bind-key x kill-pane | |
# bind-key { swap-pane -U -d | |
# bind-key } swap-pane -D -d | |
# These bind window movement to C-a C-h | |
# bind-key -r C-h select-window -t :- | |
# bind-key -r C-l select-window -t :+ | |
# act like GNU screen | |
unbind C-b | |
set -g prefix C-a | |
# look good | |
set -g default-terminal "screen-256color" | |
# funny characters in pane border(s) | |
setw -g utf8 on | |
set -g status-utf8 on | |
## THEME | |
set -g status-bg black | |
set -g status-fg white | |
set -g status-interval 60 | |
set -g status-left-length 30 | |
set -g status-left "#[fg=green] ? #[default]" | |
#[fg=yellow]#(cut -d " " -f 1-3 /proc/loadavg)#[default] | |
set -g status-right "#[fg=white]%H:%M#[default] #[fg=red]#(whoami)@#H#[default]" | |
set-window-option -g window-status-current-fg yellow | |
#set-window-option -g window-status-current-bg cyan | |
#set-window-option -g window-status-current-fg green | |
# Uncomment below to enable mouse pane select | |
# set-option -g mouse-select-pane on | |
# Mouse usable to highlight text in copy mode | |
set-window-option -g mode-mouse on | |
# Allow mouse resizing of pane's -- (tmux 1.5) | |
set-option -g mouse-resize-pane on | |
setw -g automatic-rename off | |
# force a reload of the config file | |
unbind r | |
bind r source-file ~/.tmux.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment