add copypaste keybindings to tmux
This commit is contained in:
parent
542d6c4dda
commit
2310a6faa3
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue