change prefix key to C-q
This commit is contained in:
parent
d689c254fa
commit
386c120feb
1 changed files with 5 additions and 1 deletions
|
@ -6,12 +6,16 @@ bind R source-file ~/.tmux.conf \; display-message " Config reloaded..."
|
||||||
set -g mouse on
|
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'"
|
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 [
|
unbind [
|
||||||
bind Escape copy-mode
|
bind Escape copy-mode
|
||||||
unbind p
|
unbind p
|
||||||
bind p paste-buffer
|
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 'v' send -X begin-selection
|
||||||
bind-key -T copy-mode-vi 'y' send -X copy-selection
|
bind-key -T copy-mode-vi 'y' send -X copy-selection
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue