# Debian package: powerline # Plugins #run-shell ~/src/git/notmine/tmux-plugins/tmux-pain-control/pain_control.tmux #run-shell ~/src/git/notmine/tmux-plugins/tmux-copycat/copycat.tmux #run-shell ~/src/git/notmine/tmux-plugins/tmux-yank/yank.tmux # Prefix set -g prefix C-v unbind-key C-b bind-key C-v send-prefix ## Binds bind e set-window-option synchronize-panes bind-key -n C-t new-window bind-key -n C-PPage previous-window bind-key -n C-NPage next-window ## Misc # address vim mode switching delay (http://superuser.com/a/252717/65504) set -s escape-time 0 # increase scrollback buffer size set -g history-limit 50000 # tmux messages are displayed for 4 seconds set -g display-time 4000 # refresh 'status-left' and 'status-right' more often set -g status-interval 5 # upgrade $TERM set -g default-terminal "screen-256color" # emacs key bindings in tmux command prompt (prefix + :) are better than # vi keys, even for vim users set -g status-keys emacs set -g mode-keys emacs # focus events enabled for terminals that support them set -g focus-events on # super useful when using "grouped sessions" and multi-monitor setup setw -g aggressive-resize on ## Navigation set -g base-index 1 # start windows numbering at 1 setw -g pane-base-index 1 # make pane numbering consistent with windows setw -g automatic-rename on # rename window to reflect current program set -g renumber-windows on # renumber windows when a window is closed set -g set-titles on # set terminal title set -g set-titles-string '#h ❐ #S ● #I #W' set -g display-panes-time 800 # slightly longer pane indicators display time set -g display-time 1000 # slightly longer status messages display time set -g status-interval 10 # redraw status line every 10 seconds # clear both screen and history bind -n C-l send-keys C-l \; run 'sleep 0.1' \; clear-history # activity set -g monitor-activity on set -g visual-activity off # Enable mouse features set -g mouse on # Debian Powerline source '/usr/share/powerline/bindings/tmux/powerline.conf'