all repos

dotfiles @ 6d22e0a

i use rach linux btw
1 files changed, 30 insertions(+), 17 deletions(-)
tmux: pretty much pointless update because i still dont use tmux
Author: Smirnov Oleksandr ss2316544@gmail.com
Committed at: 2024-04-10 18:02:52 +0300
Parent: 65435e1
M tmux.conf
···
                
                1
                +# vim: foldmethod=marker ts=2 sw=2

              
                
                2
                +# general {{{

              
                
                3
                +# i need my cute colors

              
                1
                4
                 set -g default-terminal "screen-256color"

              
                2
                
                -set-option -g status-position top

              
                3
                5
                 

              
                
                6
                +# mouse?

              
                4
                7
                 set -g mouse on

              
                5
                8
                 set -sg escape-time 0

              
                6
                9
                 set -g focus-events on

              ···
                8
                11
                 set -g base-index 1

              
                9
                12
                 set -g pane-base-index 1

              
                10
                13
                 

              
                11
                
                -set -g pane-border-style fg=colour240

              
                12
                
                -set -g pane-active-border-style fg=colour39

              
                13
                
                -set-window-option -g window-status-current-style fg=colour39

              
                
                14
                +set-option -g allow-rename off

              
                14
                15
                 

              
                
                16
                +# make bells fuck off

              
                
                17
                +set -g visual-activity off

              
                
                18
                +set -g visual-bell off

              
                
                19
                +set -g visual-silence off

              
                
                20
                +setw -g monitor-activity off

              
                
                21
                +set -g bell-action none

              
                
                22
                +# }}}

              
                
                23
                +# help my vim addiction {{{

              
                15
                24
                 set-window-option -g mode-keys vi

              
                16
                25
                 bind-key -T copy-mode-vi 'v' send -X begin-selection

              
                17
                26
                 bind-key -T copy-mode-vi 'y' send -X copy-selection

              
                18
                27
                 unbind -T copy-mode-vi MouseDragEnd1Pane

              
                19
                
                -

              
                20
                
                -# set prefix

              
                21
                
                -set -g prefix C-r

              
                
                28
                +# }}}

              
                
                29
                +# keymaps {{{

              
                22
                30
                 unbind C-b

              
                23
                
                -bind-key C-r send-prefix

              
                
                31
                +set -g prefix C-a

              
                
                32
                +bind-key C-a send-prefix

              
                24
                33
                 

              
                25
                
                -# keys

              
                
                34
                +# some life-improvments

              
                26
                35
                 bind r source-file ~/.tmux.conf \; display 'Reloaded tmux config'

              
                27
                36
                 bind Tab last-window

              
                28
                
                -# split window

              
                29
                
                -bind _ split-window -v

              
                30
                
                -bind - split-window -h

              
                31
                
                -# move windows

              
                32
                
                -bind-key i swap-window -t -1

              
                33
                
                -bind-key o swap-window -t +1

              
                
                37
                +

              
                34
                38
                 # change focus

              
                35
                39
                 bind -r h select-pane -L

              
                36
                40
                 bind -r j select-pane -D

              ···
                41
                45
                 bind -r J resize-pane -D 2

              
                42
                46
                 bind -r K resize-pane -U 2

              
                43
                47
                 bind -r L resize-pane -R 2

              
                
                48
                +# }}}

              
                
                49
                +# apperence {{{

              
                
                50
                +set-option -g status-position top

              
                
                51
                +

              
                
                52
                +# colors

              
                
                53
                +set -g pane-border-style fg=colour240

              
                
                54
                +set -g pane-active-border-style fg=colour39

              
                
                55
                +set-window-option -g window-status-current-style fg=colour39

              
                44
                56
                 

              
                45
                57
                 # status bar

              
                46
                58
                 set -g status-right ' #{?client_prefix,*,} #S '

              ···
                48
                60
                 set -g status-bg default

              
                49
                61
                 set -g status-fg colour254

              
                50
                62
                 set -g status-style fg=colour110

              
                51
                
                -

              
                52
                
                -# plugins

              
                
                63
                +# }}}

              
                
                64
                +# plugins {{{

              
                53
                65
                 set -g @plugin 'tmux-plugins/tpm'

              
                54
                66
                 set -g @plugin 'tmux-plugins/tmux-resurrect'

              
                55
                67
                 set -g @plugin 'tmux-plugins/tmux-continuum'

              ···
                58
                70
                 set -g @continuum-restore 'on'

              
                59
                71
                 

              
                60
                72
                 run '~/.tmux/plugins/tpm/tpm'

              
                
                73
                +# }}}