From 31897795ee60c014f7d52626327c9545cd45d6f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Sat, 9 Sep 2017 14:38:36 +0200 Subject: [PATCH] tmux: Add copy/paste keys --- tmux/tmux.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tmux/tmux.conf b/tmux/tmux.conf index 24a3277..28523be 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -92,3 +92,8 @@ bind-key -n C-F2 split-window -h "exec htop" bind-key -n C-F3 set-option status bind-key r source-file ~/.tmux.conf \; display-message "~/.tmux.conf sourced" + +bind P paste-buffer +bind-key -t vi-copy 'v' begin-selection +bind-key -t vi-copy 'y' copy-selection +bind-key -t vi-copy 'r' rectangle-toggle