dotfiles/.tmux.conf
2014-07-24 17:34:44 -04:00

42 lines
1 KiB
Bash

set -g prefix C-a
unbind C-b
bind-key C-o last-window
bind-key C-a select-pane -t :.+
bind-key a send-prefix
bind-key j select-pane -D
bind-key k select-pane -U
bind-key h select-pane -L
bind-key l select-pane -R
bind-key C-n next-window
bind-key C-p previous-window
set -g set-titles off
set -g default-terminal xterm-256color
setw -g mode-keys vi
setw -g utf8 on
new -d
# shift-movement keys will resize panes
bind -r H resize-pane -L 5
bind -r J resize-pane -D 5
bind -r K resize-pane -U 5
bind -r L resize-pane -R 5
# better mnemonics for splitting panes!
bind | split-window -h
bind - split-window -v
# Status Bar
set -g status-bg black
set -g status-fg white
set -g status-interval 1
set -g status-left '#[fg=green]#H#[default]'
set -g status-left-length 20
set -g status-right '#[fg=green]#(~/src/tpom/tpom) #[fg=cyan,bold]%Y-%m-%d %H:%M:%S#[default]'
# Notifying if other windows has activities
setw -g monitor-activity on
set -g visual-activity on
# Highlighting the active window in status bar
setw -g window-status-current-bg red