summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <curtis.mcenroe@adgear.com>2017-02-27 12:20:34 -0500
committerJune McEnroe <curtis.mcenroe@adgear.com>2017-02-27 12:20:34 -0500
commit7bda53f8f8e3b894be370b2d34a0eb8e6a59c550 (patch)
tree1f2255a9b556f32af9d1c83997c0755d873a4805
parentSet inccommand=nosplit (diff)
downloadsrc-7bda53f8f8e3b894be370b2d34a0eb8e6a59c550.tar.gz
src-7bda53f8f8e3b894be370b2d34a0eb8e6a59c550.zip
Use Escape and i to enter/exit tmux copy mode
-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