Created
October 27, 2012 20:44
-
-
Save heronmedeiros/3966157 to your computer and use it in GitHub Desktop.
tmux configuration
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
# set C-a as PREFIX | |
set -g prefix C-a | |
# set delay for other programs | |
set -s escape-time 1 | |
#set index start by 1 for window | |
set -g base-index 1 | |
#set index start by 1 for panes | |
setw -g pane-base-index 1 | |
#conigure r to reload config | |
bind r source-file ~/.tmux.conf \; display "Reloaded!" | |
#send PREFIX to others programs | |
bind C-a send-prefix | |
#splits | |
bind | split-window -h | |
bind - split-window -v | |
#cycle windows | |
bind -r C-h select-window -t :- | |
bind -r C-l select-window -t :+ | |
bind H select-pane -L | |
bind J select-pane -D | |
bind K select-pane -U | |
bind L select-pane -R | |
#resize | |
bind h resize-pane -L 5 | |
bind j resize-pane -D 5 | |
bind k resize-pane -U 5 | |
bind l resize-pane -R 5 | |
#using mouse | |
setw -g mode-mouse on | |
set -g mouse-select-pane on | |
set -g mouse-resize-pane on | |
set -g mouse-select-window on | |
set -g default-terminal "screen-256color" | |
#set -g status-fg white | |
#set -g status-bg black | |
set -g message-fg white | |
set -g message-bg black | |
set -g message-attr bright | |
set -g status-left-length 40 | |
set -g status-left "#[fg=green]Session: #S #[fg=yellow]#I #[fg=cyan]#P" | |
set -g status-right "#[fg=cyan]%d %b %R" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment