summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2017-02-27 12:20:34 -0500
committerJune McEnroe <june@causal.agency>2017-02-27 12:20:34 -0500
commitfef431fd88b9b46c0970c3a76310eece2363e338 (patch)
tree2be27bdf15bc0c36879e573d7b0bb88da1e268bc
parentSet inccommand=nosplit (diff)
downloadsrc-fef431fd88b9b46c0970c3a76310eece2363e338.tar.gz
src-fef431fd88b9b46c0970c3a76310eece2363e338.zip
Use Escape and i to enter/exit tmux copy mode
Diffstat (limited to '')
-rw-r--r--.tmux.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/.tmux.conf b/.tmux.conf
index f0781b29..58a50725 100644
--- a/.tmux.conf
+++ b/.tmux.conf
@@ -25,8 +25,9 @@ bind -r > resize-pane -R 1
 bind -r - resize-pane -U 1
 bind -r + resize-pane -D 1
 
-bind y copy-mode
 bind p paste-buffer
+bind Escape copy-mode
+bind -t vi-copy i cancel
 bind -t vi-copy v begin-selection
 bind -t vi-copy C-v rectangle-toggle
 bind -t vi-copy y copy-selection