Skip to content

Instantly share code, notes, and snippets.

@edigreat
Created September 21, 2013 19:55
Show Gist options
  • Select an option

  • Save edigreat/6653623 to your computer and use it in GitHub Desktop.

Select an option

Save edigreat/6653623 to your computer and use it in GitHub Desktop.
tmux configuration file (.tmux.conf)
# use C-a, since it's on the home row and easier to hit than C-b
set -g prefix C-z
unbind-key C-b
#Changing the default delay
set -sg escape-time 1
#change zero base index
set -g base-index 1
setw -g pane-base-index 1
unbind-key %
bind-key C-h split-window -h
bind-key C-v split-window -v
#reload configuration file
bind C-r source-file ~/.tmux.conf \; display "Reloaded!"
#Movement panels
bind-key C-up select-pane -U
bind-key C-left select-pane -L
bind-key C-down select-pane -D
bind-key C-right select-pane -R
#Create window
bind-key C-n new-window
set -g mouse-select-window on
#Movement windows
bind -r C-m select-window -t :-
bind -r C-n select-window -t :+
#Mouse enable
set-option -g mouse-select-pane on
set-option -g set-titles on
set -g mouse-resize-pane on
# Sin actividad visual
set -g visual-activity on
set -g visual-bell on
# # Barra de estado
set-option -g status-utf8 on
set-option -g status-justify right
set-option -g status-bg black
set-option -g status-fg green
set-option -g status-interval 5
set-option -g status-left-length 30
set-option -g status-left '#[fg=magenta]» #[fg=blue,bold]#T#[default]'
set-option -g status-right '#[fg=cyan]»» #[fg=blue,bold] #[fg=magenta]%D %k:%M#[default]'
set-option -g visual-activity on
set-window-option -g monitor-activity on
set-window-option -g window-status-current-fg green
set-window-option -g clock-mode-colour white
set-window-option -g clock-mode-style 24
set -g pane-border-fg green
set -g pane-border-bg black
set -g pane-active-border-fg white
set -g pane-active-border-bg cyan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment