add copypaste keybindings to tmux

This commit is contained in:
Cyryl Płotnicki 2019-02-10 10:01:50 +00:00
parent 542d6c4dda
commit 2310a6faa3

View file

@ -4,3 +4,10 @@ set -g terminal-overrides 'xterm*:smcup@:rmcup@'
set -g prefix C-a # prefix from ctrl-b to ctrl-a
unbind C-b # free ctrl-b to be used by programs inside tmux
unbind [
bind Escape copy-mode
unbind p
bind p paste-buffer
bind-key -t vi-copy 'v' begin-selection
bind-key -t vi-copy 'y' copy-selection