From 386c120feb362b1bd0b54eb776a9ff8b89893307 Mon Sep 17 00:00:00 2001 From: Yorick Date: Tue, 23 May 2017 12:37:29 +0200 Subject: [PATCH] change prefix key to C-q --- tmux.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tmux.conf b/tmux.conf index 8ae386b..3191764 100644 --- a/tmux.conf +++ b/tmux.conf @@ -6,12 +6,16 @@ bind R source-file ~/.tmux.conf \; display-message " Config reloaded..." set -g mouse on bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'copy-mode -e'" -set-window-option -g mode-keys vi +unbind C-b +set -g prefix C-q +bind C-q send-prefix unbind [ bind Escape copy-mode unbind p bind p paste-buffer + +set-window-option -g mode-keys vi bind-key -T copy-mode-vi 'v' send -X begin-selection bind-key -T copy-mode-vi 'y' send -X copy-selection