From 2310a6faa3fdb912f780d7e8f116aedd29448ae2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sun, 10 Feb 2019 10:01:50 +0000 Subject: [PATCH] add copypaste keybindings to tmux --- .tmux.conf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.tmux.conf b/.tmux.conf index 8befe400..2afdb1a2 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -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 +