|
|
|
# To access Tmux actions, we'll use Ctrl+A
|
|
|
|
set -g prefix C-a
|
|
|
|
# ... not Ctrl+B, which is the default
|
|
|
|
unbind C-b
|
|
|
|
# ... and pressing Ctrl+A twice sends the Ctrl+A
|
|
|
|
bind C-a send-prefix
|
|
|
|
|
|
|
|
# Panes and Windows start at index 1, not 0
|
|
|
|
set -g base-index 1
|
|
|
|
set -g pane-base-index 0
|
|
|
|
|
|
|
|
# using "|" and "-" for splits
|
|
|
|
bind \\ split-window -h
|
|
|
|
bind - split-window -v
|
|
|
|
|
|
|
|
# Ctrl+Enter creates a new tab
|
|
|
|
bind Enter new-window
|
|
|
|
|
|
|
|
# Don't wait for the escape press
|
|
|
|
set -s escape-time 0
|
|
|
|
|
|
|
|
# Also, don't keep waiting for more keys when moving around panels
|
|
|
|
set-option -g repeat-time 0
|
|
|
|
|
|
|
|
# Define the statusbar
|
|
|
|
set-option -g status on
|
|
|
|
set-option -g status-style fg=cyan # ,bg=black
|
|
|
|
set-option -g window-status-current-style fg=black,bg=cyan
|
|
|
|
set-option -g window-status-current-format " #I "
|
|
|
|
set-option -g window-status-format " #I "
|
|
|
|
set-option -g status-right ""
|
|
|
|
set-option -g status-right-length 0
|
|
|
|
set-option -g status-left ""
|
|
|
|
set-option -g status-left-length 0
|