change prefix key to C-q

This commit is contained in:
Yorick Barbanneau 2017-05-23 12:37:29 +02:00
parent d689c254fa
commit 386c120feb

View file

@ -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