.files/tmux/.tmux.conf

62 lines
1.4 KiB
Text
Raw Normal View History

2020-06-01 14:14:26 +02:00
# fix esc problems in vim
set -s escape-time 0
# resize based on smallest connected window, not session
setw -g aggressive-resize on
2020-12-13 22:22:11 +01:00
# more scrollback in the name of satan
set-option -g history-limit 50000
2020-06-01 14:14:26 +02:00
# all the colors we can get
set-option -g default-terminal "tmux-256color"
2020-10-20 00:21:14 +02:00
# vi style copy mode
setw -g mode-keys vi
set -g status-keys emacs
# Move between panes with vi keys
2022-10-29 03:20:04 +02:00
#bind h select-pane -L
#bind j select-pane -D
#bind k select-pane -U
#bind l select-pane -R
2020-11-04 21:15:00 +01:00
# set focus events
set-option -g focus-events on
2021-12-01 16:30:04 +01:00
# title
set -g set-titles on
set -g set-titles-string "#T"
# mouse
set -g mouse on
2021-12-01 16:30:04 +01:00
# theming
# modes
setw -g clock-mode-colour white
# panes
set -g pane-border-style 'fg=colour244'
set -g pane-active-border-style 'fg=colour03'
2022-10-29 03:20:04 +02:00
#bind b break-pane -d
2021-12-01 16:30:04 +01:00
# statusbar
set -g status-position bottom
2023-01-31 21:32:06 +01:00
set -g status-justify left
set -g status-style 'bg=default fg=colour15'
set -g status-right '[#S][@#H][%H:%M][%Y-%m-%d]'
set -g status-left '(^_^)'
#set -g status-right-length 50
set -g status-left-length 40
2023-01-31 21:32:06 +01:00
setw -g window-status-current-style 'fg=brightgreen bg=default bold'
setw -g window-status-current-format ' #I#[fg=colour15]:#W#[fg=brightgreen]#F '
2023-01-31 21:32:06 +01:00
setw -g window-status-style 'fg=gray bg=default'
setw -g window-status-format ' #I#[fg=colour15]:#W#[fg=gray bold]#F '
2021-12-01 16:30:04 +01:00
setw -g window-status-bell-style 'fg=colour255 bg=colour1 bold'
# messages
set -g message-style 'fg=black bg=white bold'
2023-07-24 00:08:24 +02:00
# copy to clipboard
run-shell ./.yank.tmux