|
|
|
@ -6,11 +6,23 @@ set -g prefix C-s
|
|
|
|
bind C-s send-prefix
|
|
|
|
bind C-s send-prefix
|
|
|
|
bind C-w send-keys C-w
|
|
|
|
bind C-w send-keys C-w
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Create new session
|
|
|
|
|
|
|
|
bind C new-session
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Kill session
|
|
|
|
|
|
|
|
bind X confirm-before -p "kill-session #S? (y/n)" kill-session
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# More intuitive split commands
|
|
|
|
|
|
|
|
bind | split-window -h -c "#{pane_current_path}"
|
|
|
|
|
|
|
|
bind - split-window -v -c "#{pane_current_path}"
|
|
|
|
|
|
|
|
|
|
|
|
set -g mouse on
|
|
|
|
set -g mouse on
|
|
|
|
|
|
|
|
|
|
|
|
# act like vim
|
|
|
|
# act like vim
|
|
|
|
setw -g mode-keys vi
|
|
|
|
setw -g mode-keys vi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
set -g focus-events on
|
|
|
|
|
|
|
|
|
|
|
|
# Start windows and panes at 1, not 0
|
|
|
|
# Start windows and panes at 1, not 0
|
|
|
|
set -g base-index 1
|
|
|
|
set -g base-index 1
|
|
|
|
set -g pane-base-index 1
|
|
|
|
set -g pane-base-index 1
|
|
|
|
|