more tmux

This commit is contained in:
clint 2022-10-11 00:18:04 -05:00
parent d163ca7a19
commit c50e566d13
2 changed files with 38 additions and 2 deletions

View File

@ -0,0 +1,32 @@
# stolen from: https://github.com/craftzdog/dotfiles-public/blob/master/.config/tmux/statusline.conf
# vim: ft=tmux
set -g mode-style "fg=#eee8d5,bg=#69caf0"
set -g message-style "fg=#eee8d5,bg=#073642"
set -g message-command-style "fg=#eee8d5,bg=#073642"
set -g pane-border-style "fg=#073642"
set -g pane-active-border-style "fg=#69caf0"
set -g status "on"
set -g status-interval 1
set -g status-justify "left"
set -g status-style "fg=#586e75,bg=#073642"
set -g status-bg "#002b36"
set -g status-left-length "100"
set -g status-right-length "100"
set -g status-left-style NONE
set -g status-right-style NONE
set -g status-left "#[fg=#073642,bg=#69faf0,bold] #S #[fg=#eee8d5,bg=#93a1a1,nobold,nounderscore,noitalics]#[fg=#15161E,bg=#93a1a1,bold] #(whoami) #[fg=#93a1a1,bg=#002b36]"
set -g status-right "#[fg=#586e75,bg=#002b36,nobold,nounderscore,noitalics]#[fg=#93a1a1,bg=#586e75]#[fg=#657b83,bg=#586e75,nobold,nounderscore,noitalics]#[fg=#93a1a1,bg=#657b83]#[fg=#93a1a1,bg=#657b83,nobold,nounderscore,noitalics]#[fg=#15161E,bg=#93a1a1,bold] #h "
setw -g window-status-activity-style "underscore,fg=#839496,bg=#69caf0"
setw -g window-status-separator ""
setw -g window-status-style "NONE,fg=#839496,bg=#69caf0"
setw -g window-status-format '#[fg=#002b36,bg=#69caf0]#[default] #I  #{b:pane_current_path} #[fg=#002b36,bg=#002b36,nobold,nounderscore,noitalics]'
setw -g window-status-current-format '#[fg=#002b36,bg=#eee8d5]#[fg=#b58900,bg=#eee8d5] #I #[fg=#eee8d5,bg=#69caf0] #{b:pane_current_path} #[fg=#b58900,bg=#69caf0,6nobold]'

View File

@ -1,7 +1,9 @@
# remap prefix from 'C-b' to 'C-a'
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# set-option -g prefix C-a
# bind-key C-a send-prefix
set-option -g prefix '`'
bind-key '`' send-prefix
# 0 is too far from Ctrl-a.
set -g base-index 1
@ -30,3 +32,5 @@ bind -n M-Down select-pane -D
# Shift + arrow key to move between windows.
bind-key -n S-Left previous-window
bind-key -n S-Right next-window
source ~/.config/tmux/statusline.conf