aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-07-30 19:22:11 +0800
committerAaron LI <aaronly.me@outlook.com>2016-07-30 19:22:11 +0800
commit2c139a1b8303d8c74464c79136843e371e3c5bea (patch)
treec7616f37f518047604560ae25b4d811f56dd9596
parentb5cbb3dd3928c7efbe567801dbe55e8e1294bd1a (diff)
downloaddotfiles-2c139a1b8303d8c74464c79136843e371e3c5bea.tar.bz2
tmux: add a keybinding for copy-mode
-rw-r--r--_tmux.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/_tmux.conf b/_tmux.conf
index dcaf80d..aa99223 100644
--- a/_tmux.conf
+++ b/_tmux.conf
@@ -47,7 +47,8 @@ bind-key -n C-Right swap-window -t +1
bind-key -n C-d detach
## Copy mode settings
-bind-key p paste-buffer
+bind-key Escape copy-mode
+bind-key p paste-buffer
bind-key -t vi-copy "v" begin-selection
bind-key -t vi-copy "y" copy-selection
# toggle between line- and column-wise selection