Merge branch 'master' of ssh://gitea.ewpt3ch.dev:25213/ewpt3ch/dotfiles-old
This commit is contained in:
@@ -1,7 +1,8 @@
|
|||||||
#tmux.conf inspired by painless tmux
|
#tmux.conf inspired by painless tmux
|
||||||
#solarized color scheme
|
#solarized color scheme
|
||||||
#set 256 colormode
|
#set 256 colormode
|
||||||
set -g default-terminal "screen-256color"
|
set -g default-terminal "tmux-256color"
|
||||||
|
set -ga terminal-overrides ",xterm-termite:Tc"
|
||||||
#remap prefix to ctrl + a
|
#remap prefix to ctrl + a
|
||||||
unbind C-b
|
unbind C-b
|
||||||
set -g prefix C-a
|
set -g prefix C-a
|
||||||
@@ -17,8 +18,8 @@ setw -g pane-base-index 1
|
|||||||
bind r source-file ~/.tmux.conf \; display "config file loaded."
|
bind r source-file ~/.tmux.conf \; display "config file loaded."
|
||||||
#Faster command sequence
|
#Faster command sequence
|
||||||
set -s escape-time 0
|
set -s escape-time 0
|
||||||
set -g bell-action any # listen for activity on all windows
|
#set -g bell-action any # listen for activity on all windows
|
||||||
set -g bell-on-alert on
|
#set -g bell-on-alert on
|
||||||
bind | split-window -h
|
bind | split-window -h
|
||||||
bind - split-window -v
|
bind - split-window -v
|
||||||
unbind x
|
unbind x
|
||||||
@@ -41,45 +42,36 @@ bind C-c choose-buffer
|
|||||||
# statusline
|
# statusline
|
||||||
set -g status-left-length 20
|
set -g status-left-length 20
|
||||||
set -g status-left "[#S]:[#P]"
|
set -g status-left "[#S]:[#P]"
|
||||||
set -g status-right "%R %D"
|
set -g status-right "(#h) %R %D"
|
||||||
set -g status-justify centre
|
set -g status-justify centre
|
||||||
|
|
||||||
# colors
|
# colors
|
||||||
# statusline
|
# statusline
|
||||||
set -g status-bg black
|
set -g status-style fg=colour39,bg=black,bright
|
||||||
set -g status-fg colour39
|
|
||||||
set -g status-attr bright
|
|
||||||
|
|
||||||
# default window title colors
|
# default window title colors
|
||||||
setw -g window-status-fg colour39
|
setw -g window-status-style fg=colour39,bg=default,bright
|
||||||
setw -g window-status-bg default
|
|
||||||
setw -g window-status-attr bright
|
|
||||||
|
|
||||||
# active window title colors
|
# active window title colors
|
||||||
setw -g window-status-current-fg colour120
|
setw -g window-status-current-style fg=colour120,bg=black,bright
|
||||||
setw -g window-status-current-bg black
|
|
||||||
setw -g window-status-current-attr bright
|
|
||||||
|
|
||||||
# bell alerted window color
|
# bell alerted window color
|
||||||
setw -g window-status-bell-bg red
|
setw -g window-status-bell-style fg=white,bg=red,bright
|
||||||
setw -g window-status-bell-fg white
|
|
||||||
setw -g window-status-bell-attr bright
|
|
||||||
|
|
||||||
# content alerted color
|
# content alerted color
|
||||||
#setw -g window-status-content-bg blue
|
setw -g window-status-activity-style fg=white,bg=blue,bright
|
||||||
#setw -g window-status-content-fg white
|
|
||||||
#setw -g window-status-content-attr bright
|
|
||||||
setw -g window-status-activity-bg blue
|
|
||||||
setw -g window-status-activity-fg white
|
|
||||||
setw -g window-status-activity-attr bright
|
|
||||||
|
|
||||||
# pane borders
|
# pane borders
|
||||||
set -g pane-border-fg colour120
|
setw -g pane-border-style fg=colour120,bg=black
|
||||||
set -g pane-border-bg black
|
setw -g pane-active-border-style fg=colour39,bg=black
|
||||||
set -g pane-active-border-fg colour39
|
|
||||||
set -g pane-active-border-bg black
|
|
||||||
|
|
||||||
# command line
|
# command line
|
||||||
set -g message-fg default
|
set -g message-style fg=default,bg=default,bright
|
||||||
set -g message-bg default
|
|
||||||
set -g message-attr bright
|
# Plugin list
|
||||||
|
set -g @plugin 'tmux-plugins/tpm'
|
||||||
|
set -g @plugin 'tmux-plugins/tmux-resurrect'
|
||||||
|
#set -g @plugin 'tmux-plugins/tmux-continuum'
|
||||||
|
|
||||||
|
# start tmux plugin manager(keep last line)
|
||||||
|
run -b '~/.tmux/plugins/tpm/tpm'
|
||||||
|
|||||||
Reference in New Issue
Block a user