# Source changes without restarting tmux: # tmux source-file ~/.tmux.conf # # Prefix is Ctrl+b, then: # c create new window # n switch to next window # switch to windows # o switch to next pane # % split pane vertically # " split pane horizontally # change layout when having more than one pane # , rename active window set -g mouse on # Increase scrollback history set-option -g history-limit 50000 # Faster mouse scrolling set -g @scroll-speed-num-lines-per-scroll 5 # Vi mode to copy things from terminal setw -g mode-keys vi # Count panes from 1 instead of 0 set -g base-index 1 setw -g pane-base-index 1 # Status bar # set -g status 2 set -g status-style fg=#dedede,bg=#9d7cd8 set-window-option -g window-status-current-style bg=#3e3158 set -g status-left-length 65 set -g status-left "Ctrl+b + [c]reate window, [n]ext window " set -g status-justify centre set -g status-right '%A, %d %B %R %Z' # Get good colors # https://www.reddit.com/r/tmux/comments/mesrci/tmux_2_doesnt_seem_to_use_256_colors/ #set-option -g default-terminal "screen-256color" set -g default-terminal "tmux-256color" set -ga terminal-overrides ",*256col*:Tc" set -ga terminal-overrides '*:Ss=\E[%p1%d q:Se=\E[ q' set-environment -g COLORTERM "truecolor"