26 lines
690 B
Bash
26 lines
690 B
Bash
# pane navigation
|
|
bind -r h select-pane -L # move left
|
|
bind -r j select-pane -D # move down
|
|
bind -r k select-pane -U # move up
|
|
bind -r l select-pane -R # move right
|
|
bind | split-window -h -c "#{pane_current_path}"
|
|
bind _ split-window -v -c "#{pane_current_path}"
|
|
|
|
set -g prefix C-b
|
|
|
|
set -g status-bg black
|
|
set -g status-fg white
|
|
|
|
set-option -g status off
|
|
set -g mouse on
|
|
set-option -g repeat-time 0
|
|
|
|
|
|
bind-key v copy-mod
|
|
setw -g mode-keys vi
|
|
bind P paste-buffer
|
|
bind-key -T copy-mode-vi v send-keys -X begin-selection
|
|
bind-key -T copy-mode-vi c send-keys -X clear-selection
|
|
bind-key -T copy-mode-vi y send-keys -X copy-selection
|
|
bind-key -T copy-mode-vi V send-keys -X rectangle-toggle
|