[tmux] strip down statusline
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
# tmux.conf
|
||||
# ~ M. Thomas
|
||||
|
||||
######### Terminal Setup ##########
|
||||
# set default terminal
|
||||
set -g default-terminal "tmux-256color"
|
||||
# enable true color terminal
|
||||
set -ga terminal-overrides ",*256col*:Tc,alacritty:Tc"
|
||||
|
||||
######### Keybinds ##########
|
||||
# new panes (open with current path)
|
||||
bind-key -n M-v split-window -h -c "#{pane_current_path}"
|
||||
bind-key -n M-s split-window -v -c "#{pane_current_path}"
|
||||
@@ -51,6 +53,7 @@ bind-key -n 'M-Right' resize-pane -R
|
||||
bind-key -n 'M-Up' resize-pane -U
|
||||
bind-key -n 'M-Down' resize-pane -D
|
||||
|
||||
########## General ##########
|
||||
# alias
|
||||
set -s command-alias[1] respawn='respawn-pane -k'
|
||||
|
||||
@@ -67,14 +70,26 @@ set-option -g mouse on
|
||||
set -g base-index 1
|
||||
setw -g pane-base-index 1
|
||||
|
||||
# styling
|
||||
set -g status-position bottom
|
||||
|
||||
# set terminal window title
|
||||
# set terminal window title (update every second)
|
||||
set-option -g status-interval 1
|
||||
set-option -g set-titles on
|
||||
set-option -g set-titles-string "#H: #W"
|
||||
|
||||
# using https://github.com/edkolev/tmuxline.vim
|
||||
# open vim, `:TmuxLineSnapshot`, save to ~/.tmux.theme
|
||||
if-shell "test -f ~/.tmux.theme" "source ~/.tmux.theme"
|
||||
########## Styling ##########
|
||||
# generated using https://github.com/edkolev/tmuxline.vim
|
||||
set -g status-position top
|
||||
set -g status-justify "left"
|
||||
set -g status "on"
|
||||
set -g message-command-style "fg=#829181,bg=#e9e8d2"
|
||||
set -g pane-active-border-style "fg=#93b259"
|
||||
set -g status-style "none,bg=#FFF9E8"
|
||||
set -g message-style "fg=#829181,bg=#e9e8d2"
|
||||
set -g pane-border-style "fg=#e9e8d2"
|
||||
set -g status-right-length "100"
|
||||
set -g status-left-length "100"
|
||||
setw -g window-status-activity-style "none,fg=#93b259,bg=#FFF9E8"
|
||||
setw -g window-status-style "none,fg=#939f91,bg=#FFF9E8"
|
||||
set -g status-left ""
|
||||
set -g status-right "#[fg=#939f91,bg=#FFF9E8] #H @ #S"
|
||||
setw -g window-status-format "#[default][#I #W]"
|
||||
setw -g window-status-current-format "#[fg=black,bold][#I #W]"
|
||||
|
||||
Reference in New Issue
Block a user