Skip to content

Instantly share code, notes, and snippets.

@renatosuero
Created October 27, 2015 10:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save renatosuero/f175dfd662978b4c885e to your computer and use it in GitHub Desktop.
Save renatosuero/f175dfd662978b4c885e to your computer and use it in GitHub Desktop.
# act like GNU screen
unbind C-b
set -g prefix C-a
#Mode Vim
setw -g mode-keys vi
#Delay
set -sg escape-time 1
#Set index 1
set -g base-index 1
set -g pane-base-index 1
#reload tmux.conf
bind r source-file ~/.tmux.conf \; display "Reloaded!"
#Split window
bind | split-window -h
bind - split-window -v
#Mapping movements
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
#Resize panes
bind H resize-pane -L 5
bind J resize-pane -D 5
bind K resize-pane -U 5
bind L resize-pane -R 5
#Enable mouse
set -g mode-mouse on
#set -g mouse-select-pane on
#set -g mouse-resize-pane on
#set -g mouse-select-window on
# improve colors
set -g default-terminal "screen-256color"
#Status bar Colors
set -g status-fg black
set -g status-bg green
#Window Status bar Colors
#setw -g window-status-fg black
#setw -g window-status-bg red
#setw -g window-status-attr dim
#Current Window Status bar Colors
set -g window-status-current-fg white
set -g window-status-current-bg black
set -g window-status-current-attr bold
#Configuring Status Bar Itens
set -g status-utf8 on
set -g status-left " #S "
set -g status-right "#h %d %b %R "
#set -g status-justify centre
#Define interval
#set -g status-interval 60
setw -g monitor-activity on
set -g visual-activity on
#Define history-limit
set -g history-limit 30000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment