Skip to content

Instantly share code, notes, and snippets.

@zvkemp
Last active December 25, 2015 12:49
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 zvkemp/6979549 to your computer and use it in GitHub Desktop.
Save zvkemp/6979549 to your computer and use it in GitHub Desktop.
tmux.conf
bind r source-file ~/.tmux.conf \; display "Reloaded!"
set -g default-terminal "screen-256color"
set -g status-left "#[bg=green]#[fg=blue,bold] #S #[default]"
set -g status-right "#[fg=black]%d %b %R "
set -g pane-border-fg blue
set -g pane-active-border-bg default
set -g pane-active-border-fg yellow
# set colors for the active window
# START:activewindowstatuscolor
setw -g window-status-current-fg black
setw -g window-status-current-bg yellow
setw -g window-status-format "#I:#W"
setw -g window-status-current-format " #I:#W #P "
# setw -g window-status-current-attr default
# END:activewindowstatuscolor
set -g mode-mouse on
set -g mouse-resize-pane off
set -g mouse-select-pane off
set -g mouse-select-window off
# http://tangledhelix.com/blog/2012/07/16/tmux-and-mouse-mode/
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment