Browse Source

simplify tmux config and use plugins

master^2
Leonora Tindall 2 years ago
parent
commit
86d6a47974
  1. 3
      .gitmodules
  2. 1
      stow/stow/tmux/.tmux/plugins/tpm
  3. 82
      stow/tmux/.tmux.conf
  4. 1
      stow/tmux/.tmux/plugins/tpm

3
.gitmodules

@ -22,3 +22,6 @@
[submodule "vim/bundle/editorconfig-vim"]
path = stow/vim/.vim/bundle/editorconfig-vim/editorconfig-vim
url = https://github.com/editorconfig/editorconfig-vim.git
[submodule "stow/stow/tmux/.tmux/plugins/tpm"]
path = stow/stow/tmux/.tmux/plugins/tpm
url = git@github.com:tmux-plugins/tpm

1
stow/stow/tmux/.tmux/plugins/tpm

@ -0,0 +1 @@
Subproject commit 06d41226af02ca4f5bcf58169dd4f0a2aa42218c

82
stow/tmux/.tmux.conf

@ -1,7 +1,7 @@
# better prefix
# unbind C-b
# set-option -g prefix C-a
# bind-key C-a send-prefix
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# Split commands
unbind %
@ -9,9 +9,6 @@ unbind '"'
bind \ split-window -h
bind - split-window -v
# Don't change window names automatically
set-option -g allow-rename off
# mouse
set -g mouse on
@ -19,71 +16,10 @@ set -g mouse on
set -g base-index 1
setw -g pane-base-index 1
################
#### DESIGN ####
################
## Status bar design
# status line
set -g status-justify left
set -g status-interval 2
# messaging
set -g message-command-style fg=blue,bg=black
#window mode
# window status
setw -g window-status-format " #F#I:#W#F "
setw -g window-status-current-format " #F#I:#W#F "
setw -g window-status-format "#[fg=magenta]#[bg=black] #I #[bg=cyan]#[fg=colour8] #W "
setw -g window-status-current-format "#[bg=brightmagenta]#[fg=colour8] #I #[fg=colour8]#[bg=colour14] #W "
# Info on left (I don't have a session display for now)
set -g status-left ''
# loud or quiet?
set-option -g visual-activity off
set-option -g visual-bell off
set-option -g visual-silence off
set-window-option -g monitor-activity off
set-option -g bell-action none
set -g default-terminal "screen-256color"
# The modes {
setw -g clock-mode-colour colour135
setw -g mode-style bg=colour6,fg=colour0,bold,fg=colour196,bg=colour238
# }
# The panes {
set -g pane-border-style bg=colour235,fg=colour238
set -g pane-active-border-style bg=colour236,fg=colour51
# }
# The statusbar {
set -g status-position bottom
set -g status-style bg=default,fg=colour12,bg=colour234,fg=colour137,dim
set -g status-left ''
set -g status-right '#[fg=colour233,bg=colour241,bold] %d/%m #[fg=colour233,bg=colour245,bold] %H:%M:%S '
set -g status-right-length 50
set -g status-left-length 20
setw -g window-status-current-style bg=colour0,fg=colour11,dim,fg=colour81,bg=colour238,bold
setw -g window-status-current-format ' #I#[fg=colour250]:#[fg=colour255]#W#[fg=colour50]#F '
setw -g window-status-style bg=green,fg=black,reverse,fg=colour138,bg=colour235,none
setw -g window-status-format ' #I#[fg=colour237]:#[fg=colour250]#W#[fg=colour244]#F '
setw -g window-status-bell-style bold,fg=colour255,bg=colour1
# }
# The messages {
set -g message-style fg=black,bg=yellow,bold,fg=colour232,bg=colour166
# }
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-yank'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run -b '~/.tmux/plugins/tpm/tpm'

1
stow/tmux/.tmux/plugins/tpm

@ -0,0 +1 @@
Subproject commit 06d41226af02ca4f5bcf58169dd4f0a2aa42218c
Loading…
Cancel
Save