24 lines
493 B
Plaintext
24 lines
493 B
Plaintext
# remap prefix from 'C-b' to 'C-a'
|
|
unbind C-b
|
|
set-option -g prefix C-a
|
|
bind-key C-a send-prefix
|
|
|
|
# Enable mouse control (clickable windows, panes, resizable panes)
|
|
set -g mouse on
|
|
|
|
# Initialize sesions
|
|
bind W source-file ~/.tmux/work
|
|
|
|
# reload config
|
|
bind r source-file ~/.tmux.conf \; display-message "Config reloaded..."
|
|
|
|
# spliting windoww
|
|
unbind %
|
|
unbind '"'
|
|
bind | split-window -h
|
|
bind - split-window -v
|
|
|
|
|
|
# status bar
|
|
set -g status-right '♥#(acpi | cut -d ',' -f 2) | %H:%m %d-%b-%y '
|