# remap prefix from 'C-b' to 'C-a'
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix

# split panes using | and -
bind-key "\|" split-window -h
bind-key "\\" split-window -h
bind-key "-" split-window -v
unbind '"'
unbind %

# Resize the current pane using Alt + direction
bind -n M-k resize-pane -U 5
bind -n M-j resize-pane -D 5
bind -n M-h resize-pane -L 5
bind -n M-l resize-pane -R 5

# pane switching
bind -n C-k select-pane -U 
bind -n C-j select-pane -D 
bind -n C-h select-pane -L 
bind -n C-l select-pane -R

bind C-a next-window

# Set status bar
set -g status-bg black
set -g status-fg white
set -g status-right '%a %b %d, %H:%M'

# Highlight active window
#set-window-option -g window-status-current-bg blue
set-window-option -g window-status-current-style bg=green

set -g default-terminal "screen-256color"

# Set window notifications
setw -g monitor-activity on
set -g visual-activity on

 

+ Recent posts