Skip to content

Instantly share code, notes, and snippets.

@mrteera
Last active December 18, 2015 08:49
Show Gist options
  • Save mrteera/5756574 to your computer and use it in GitHub Desktop.
Save mrteera/5756574 to your computer and use it in GitHub Desktop.
setw -g mode-keys vi
#setting the delay between prefix and command
set -sg escape-time 1
#reload the file with Prefix r
bind r source-file ~/.tmux.conf \; display "Reload!"
# mouse support - set to on if you want to use the mouse
#setw -g mode-mouse on
#set -g mouse-select-pane on
# enable activity alerts
#setw -g monitor-activity on
#set -g visual-activity on
#set -g default-terminal screen-256color
unbind +
bind + new-window -d -n tmux-zoom 'clear && echo TMUX ZOOM && read' \; swap-pane -s tmux-zoom.0 \; select-window -t tmux-zoom
unbind -
bind - last-window \; swap-pane -s tmux-zoom.0 \; kill-window -t tmux-zoom
bind-key -t vi-copy 'v' begin-selection
bind-key -t vi-copy 'y' copy-selection
unbind p
bind p paste-buffer
set -g status-utf8 on
set -g status-keys vi
set -g status-interval 1
set -g status-attr bright
set -g status-fg white
set -g status-bg black
set -g status-left-length 20
set -g status-left '#[fg=green][#[fg=red]#S#[fg=green]]#[default]'
set -g status-justify centre
set -g status-right '#[fg=green][ %m/%d %H:%M:%S ]#[default]'
setw -g window-status-current-format '#[fg=yellow](#I.#P#F#W)#[default]'
setw -g window-status-format '#I#F#W'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment