start full-soy vim config, change colors a bit, general YOLO commit

This commit is contained in:
Grigory Shipunov 2022-10-02 02:21:55 +02:00
parent 4ff5fc37a6
commit 4bda92d47d
Signed by: 0xa
GPG key ID: 91FA5E5BF9AA901C
17 changed files with 439 additions and 120 deletions

View file

@ -1,3 +1,12 @@
# Plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-yank'
unbind C-b
set -g prefix C-a
bind a send-prefix
bind C-a last-window
# fix esc problems in vim
set -s escape-time 0
@ -9,16 +18,27 @@ set-option -g history-limit 50000
# all the colors we can get
set-option -g default-terminal "tmux-256color"
set-option -ga terminal-overrides ",xterm*:Tc"
set-option -ga terminal-overrides ",foot*:Tc"
# vi style copy mode
setw -g mode-keys vi
set -g status-keys emacs
# Move between panes with vi keys
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# set focus events
set-option -g focus-events on
# title
set -g set-titles on
set -g set-titles-string "#T"
# mouse
set -g mouse on
# theming
# modes
@ -26,21 +46,26 @@ setw -g clock-mode-colour white
# panes
set -g pane-border-style 'fg=colour244'
set -g pane-active-border-style 'fg=colour255'
set -g pane-active-border-style 'fg=colour03'
bind b break-pane -d
# statusbar
set -g status-position bottom
set -g status-justify left
set -g status-style 'bg=colour8 fg=colour15'
set -g status-right '#[bg=colour0] @#H (^_^) %H:%M '
set -g status-left '[#S]'
set -g status-right-length 50
set -g status-left-length 20
set -g status-style 'bg=colour0 fg=colour15'
#set -g status-right '#[bg=colour0] '
set -g status-left '[#S]@#H (^_^) [%H:%M] '
#set -g status-right-length 50
set -g status-left-length 40
setw -g window-status-current-style 'fg=brightgreen bg=colour0 bold'
setw -g window-status-current-format ' #I#[fg=colour15]:#W#[fg=brightgreen]#F '
setw -g window-status-style 'fg=brightgreen bg=colour236'
setw -g window-status-format ' #I#[fg=colour15]:#W#[fg=green bold]#F '
setw -g window-status-style 'fg=gray bg=colour0'
setw -g window-status-format ' #I#[fg=colour15]:#W#[fg=gray bold]#F '
setw -g window-status-bell-style 'fg=colour255 bg=colour1 bold'
# messages
set -g message-style 'fg=black bg=white bold'
# plugin manager, has to be at the bottom
run '~/.tmux/plugins/tpm/tpm'