Created
May 7, 2015 15:59
-
-
Save andrecastillo/232f7eebd1c6387b182c to your computer and use it in GitHub Desktop.
my tmux conf
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
# set Control-a to the prefix | |
set -g prefix C-a | |
# make it so that I can use Control-a to get to the beginning of a line | |
bind a send-prefix | |
# set window split keys | |
bind-key \ split-window -h | |
bind-key - split-window -v | |
# select panes using the vim keys | |
bind-key k select-pane -U | |
bind-key j select-pane -D | |
bind-key h select-pane -L | |
bind-key l select-pane -R | |
# Control-a twice will take me back to the previous selected pane | |
bind-key C-a last-window | |
# Start numbering at 1 | |
set -g base-index 1 | |
# Allows for faster key repetition | |
set -s escape-time 0 | |
# lets me know about activity in other windows | |
setw -g monitor-activity on | |
set -g visual-activity on | |
# reload config of tmux | |
bind r source-file ~/.tmux.conf \; display-message "Config reloaded..." | |
# auto window rename | |
set-window-option -g automatic-rename | |
# set up mouse mode | |
set -g mode-mouse on | |
set -g mouse-resize-pane on | |
set -g mouse-select-pane on | |
set -g mouse-select-window on | |
# colors | |
set-option -g status-bg colour235 #base02 | |
set-option -g status-fg colour136 #yellow | |
set-option -g status-attr default | |
set-window-option -g window-status-fg colour244 #base0 | |
set-window-option -g window-status-bg default | |
set-window-option -g window-status-current-fg colour166 #orange | |
set-window-option -g window-status-current-bg default | |
set-option -g pane-border-fg colour235 #base02 | |
set-option -g pane-active-border-fg colour240 #base01 | |
set-option -g message-bg colour235 #base02 | |
set-option -g message-fg colour166 #orange | |
set-option -g display-panes-active-colour colour33 #blue | |
set-option -g display-panes-colour colour166 #orange | |
set-window-option -g clock-mode-colour green #green | |
# status bar | |
set-option -g status-utf8 on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment