Status Lines for TMUX and VIM

Status Lines for TMUX and VIM

I've started using some more cleaner looking status lines for tmux and vim, these two solutions work the best for me.

Oh My Tmux! -

"Oh My Tmux! My pretty + versatile self-contained tmux configuration (in other words the best tmux configuration)"

This really is the best configuration, however I still wanted to use some of my own keybinds (which i'll supply below). I also use the powerline separators to get the full look for maximum sleekness.

tmux statusline screenshot

Custom binds:

#Custom settings
set -g base-index 1
set-window-option -g automatic-rename on
set-option -g set-titles on
setw -g mode-keys vi
#setw -g mode-mouse on
setw -g monitor-activity on
bind-key v split-window -h
bind-key g split-window -v
bind-key J resize-pane -D 5
bind-key K resize-pane -U 5
bind-key H resize-pane -L 5
bind-key L resize-pane -R 5
bind-key M-j resize-pane -D
bind-key M-k resize-pane -U
bind-key M-h resize-pane -L
bind-key M-l resize-pane -R
# Vim style pane selection
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind -n S-Left previous-window
bind -n S-Right next-window
set -sg escape-time 0

vim-airline -

Vim airline is another very sleek statusline which also contains an option to provide a status line for the tab bars at the top. I'm using the "light" theme but you can select your own theme by using :AirlineTheme <theme> inside of vim after installation. It's similar to how you normally choose syntax themes (:color <color>)

airline screenshot

Related Article