Turned on vi-mode for tmux
This commit is contained in:
parent
2060c74012
commit
6a7bc6e6c2
|
@ -8,6 +8,12 @@ set -s escape-time 0
|
||||||
set-window-option -g xterm-keys on
|
set-window-option -g xterm-keys on
|
||||||
set-option -g focus-events on
|
set-option -g focus-events on
|
||||||
|
|
||||||
|
# Setup vi-mode with better keybindings
|
||||||
|
# TODO: Escape does not work properly for leaving
|
||||||
|
setw -g mode-keys vi
|
||||||
|
bind -T copy-mode-vi v send -X begin-selection
|
||||||
|
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel
|
||||||
|
|
||||||
# Change leader
|
# Change leader
|
||||||
unbind C-b
|
unbind C-b
|
||||||
set -g prefix C-a
|
set -g prefix C-a
|
||||||
|
|
Loading…
Reference in New Issue
Block a user