# use vim copy/paste keybindings setw -g mode-keys vi set -g default-terminal "xterm-256color" set -ga terminal-overrides ",xterm-256color:Tc" set -g default-shell /bin/bash # see https://github.com/neovim/neovim/issues/2035 set -sg escape-time 10 # in milliseconds # split panes using | and - bind | split-window -h bind - split-window -v # vim style pane switching bind h select-pane -L bind j select-pane -D bind k select-pane -U bind l select-pane -R unbind '"' unbind % # status bar design set -g status-position top set -g status-left-length 60 set -g status-style bg=colour253 set -g status-right ' #[fg=colour0,bg=colour253] #(hostname) #[fg=colour0,bg=colour253] %d/%m #[fg=colour0,bg=colour253] %H:%M:%S ' # current session name set-window-option -g status-left '#[fg=colour0,bg=colour253] #S ' # current window set -g window-status-current-style fg=colour0,bg=colour183 set -g window-status-current-format ' #I#[fg=colour0] #[fg=colour0]#W ' # background windows set -g window-status-style fg=colour0,bg=colour146 set -g window-status-format ' #I#[fg=colour0] #[fg=colour0]#W ' # scrollback history set -g history-limit 10000 set -g mouse on