aboutsummaryrefslogtreecommitdiff
path: root/tmux/tmux.conf
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2012-02-20 15:34:38 +1300
committerTom Ryder <tom@sanctum.geek.nz>2012-02-20 15:34:38 +1300
commit832d09a18b48b6594eed408ac2df0a5478f27023 (patch)
treea4fa5d4dc57c333f611291724f166dbaf0b159f3 /tmux/tmux.conf
parentTweaks. (diff)
downloaddotfiles-832d09a18b48b6594eed408ac2df0a5478f27023.tar.gz
dotfiles-832d09a18b48b6594eed408ac2df0a5478f27023.zip
vi-ish copy paste
Diffstat (limited to 'tmux/tmux.conf')
-rw-r--r--tmux/tmux.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/tmux/tmux.conf b/tmux/tmux.conf
index 090ff1ed..0d624b1f 100644
--- a/tmux/tmux.conf
+++ b/tmux/tmux.conf
@@ -53,6 +53,10 @@ bind-key p previous-window
bind-key s choose-session
bind-key Tab select-pane -t :.+
+# Use a sort of vi-ish copy-paste.
+bind-key -t vi-copy 'v' begin-selection
+bind-key -t vi-copy 'y' copy-selection
+
# Terminal settings.
set -g default-terminal "screen-256color"