forked from nico/dots
22 lines
487 B
Bash
22 lines
487 B
Bash
# remap prefix from 'C-b' to 'C-a'
|
|
unbind C-b
|
|
set-option -g prefix C-a
|
|
bind-key C-a send-prefix
|
|
|
|
# vim keys
|
|
bind h select-pane -L
|
|
bind j select-pane -D
|
|
bind k select-pane -U
|
|
bind l select-pane -R
|
|
|
|
# start ajacent terminals with same path
|
|
bind c new-window -c "#{pane_current_path}"
|
|
bind '"' split-window -c "#{pane_current_path}"
|
|
bind % split-window -h -c "#{pane_current_path}"
|
|
|
|
# set variables
|
|
set -g mouse on
|
|
set -g history-limit 100000
|
|
|
|
set -g base-index 1
|
|
setw -g pane-base-index 1
|