update select/paste mode
This commit is contained in:
parent
34cfc4fd46
commit
1e905e922b
|
@ -15,14 +15,14 @@ bind | split-window -h
|
||||||
unbind -
|
unbind -
|
||||||
bind - split-window -v
|
bind - split-window -v
|
||||||
|
|
||||||
# more ergnomic window and pane numbers
|
# more ergnomic window numbers
|
||||||
set -g base-index 1
|
set -g base-index 1
|
||||||
setw -g pane-base-index 1
|
setw -g pane-base-index 1
|
||||||
|
|
||||||
# vim bindings in copy mode
|
# vim bindings in copy mode
|
||||||
bind-key -T copy-mode-vi v send -X begin-selection
|
# HOWTO: PREFIX+[, v, select text, y, PREFIX+]
|
||||||
bind-key -T copy-mode-vi y send -X copy-selection
|
bind-key -T copy-mode-vi v send-keys -X begin-selection
|
||||||
bind-key -T copy-mode-vi p send -X paste-buffer
|
bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
|
||||||
|
|
||||||
# enable mouse
|
# enable mouse
|
||||||
set -g mouse on
|
set -g mouse on
|
||||||
|
|
Reference in a new issue