|
|
@ -2,11 +2,17 @@ |
|
|
|
set -g prefix C-a |
|
|
|
set -g prefix C-a |
|
|
|
# ... not Ctrl+B, which is the default |
|
|
|
# ... not Ctrl+B, which is the default |
|
|
|
unbind C-b |
|
|
|
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 |
|
|
|
# Panes and Windows start at index 1, not 0 |
|
|
|
set -g base-index 1 |
|
|
|
set -g base-index 1 |
|
|
|
set -g pane-base-index 0 |
|
|
|
set -g pane-base-index 0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# using "|" and "-" for splits |
|
|
|
|
|
|
|
bind \\ split-window -h |
|
|
|
|
|
|
|
bind - split-window -v |
|
|
|
|
|
|
|
|
|
|
|
# Ctrl+Enter creates a new tab |
|
|
|
# Ctrl+Enter creates a new tab |
|
|
|
bind Enter new-window |
|
|
|
bind Enter new-window |
|
|
|
|
|
|
|
|
|
|
|