umgeher's changelog

tmux

tmux - theme solarized dark

Adicionando Solarized Dark ao tmux.

# Solarized dark
set-option -g status-style fg=yellow,bg=black
set-window-option -g window-status-style fg=brightblue,bg=default
#set-window-option -g window-status-style dim
set-window-option -g window-status-current-style fg=brightred,bg=default
#set-window-option -g window-status-current-style bright
set-option -g pane-border-style fg=black
set-option -g pane-active-border-style fg=brightgreen
set-option -g message-style fg=brightred,bg=black
set-option -g display-panes-active-colour blue
set-option -g display-panes-colour brightred
set-window-option -g clock-mode-colour green
set-window-option -g window-status-bell-style fg=black,bg=red

tmux - conf

Apenas colocando meu atual tmux.conf.

Alguns detalhes que gosto da minha configuracao do tmux.

mover entre panels

bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D

Essa configuracao faz com que voce mude de panel usando a combinacao de Alt + DIRECAO, onde DIRECAO e’ controlado pela seta do teclado.

mouse on

set -g mouse on

Essa linha configura o resize dos panels com o mouse. Muito util.

conf

Meu tmux.conf completo.

bind-key -n S-Left swap-window -t -1
bind-key -n S-Right swap-window -t +1
bind r source-file ~/.tmux.conf
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
set-option -g allow-rename off
set -g mouse on
set -g visual-activity off
set -g visual-bell off
set -g visual-silence off
set -g bell-action none
setw -g monitor-activity off
setw -g clock-mode-colour colour5
set -g status-position bottom
set -g status-justify left
set -g status-right-length 50
set -g status-left-length 20
set -g message-style 'fg=colour232 bg=colour16 bold'

tmux - resize window

No tmux, para voce forcar a janela ficar no tamanho da menor session conectada:

<c-b> :resize-window -a

Para deixar ficar no tamanho da maior session conectada:

<c-b> :resize-window -A