Files
dots/files/.tmux.conf
Marco Thomas 023dfe8471 Update tmux
2021-03-08 13:58:50 +01:00

38 lines
866 B
Bash

set -g default-terminal "tmux-256color"
#some vi behaviour
bind-key -r h select-pane -L
bind-key -r j select-pane -D
bind-key -r k select-pane -U
bind-key -r l select-pane -R
bind-key v split-window -h
bind-key s split-window -v
# enable mouse
set-option -g mouse on
# start pane index at 1
set -g base-index 1
setw -g pane-base-index 1
# reload bind
bind-key r source-file ~/.tmux.conf
# status bar
set -g status-bg default
set -g status-fg white
set -g status-right '%Y.%m.%d %H:%M'
set-window-option -g window-status-current-format ' #I:#W '
set-window-option -g window-status-current-style "bg=#98c379,fg=#282c34"
set-window-option -g window-status-format ' #I:#W '
set-window-option -g window-status-separator ''
set-option -g status-justify left
set -g status-left ''
set -g status-right '%a %Y-%m-%d %H:%M | #S on #h'
set -g status-right-length 120