Add bindkeys for buffer.
This commit is contained in:
parent
d8542c9c75
commit
b12376854a
|
@ -85,9 +85,11 @@ bind-key C-p previous-window
|
|||
|
||||
#Copy tmux buffer to CLIPBOARD
|
||||
unbind C-y
|
||||
bind-key C-y run-shell -b "tmux save-buffer - | xclip -i -selection clipboard"
|
||||
bind-key y run-shell -b "tmux save-buffer - | xclip -i -selection clipboard"
|
||||
#Copy CLIPBOARD to tmux buffer and paste-it in tmux
|
||||
unbind C-v
|
||||
bind-key v run "tmux set-buffer -- \"$(xclip -o -selection clipboard)\"; tmux paste-buffer"
|
||||
bind-key C-v run "tmux set-buffer -- \"$(xclip -o -selection clipboard)\"; tmux paste-buffer"
|
||||
|
||||
# Copy-mode
|
||||
|
|
Loading…
Reference in New Issue