diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2012-02-20 15:34:38 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2012-02-20 15:34:38 +1300 |
commit | 832d09a18b48b6594eed408ac2df0a5478f27023 (patch) | |
tree | a4fa5d4dc57c333f611291724f166dbaf0b159f3 /tmux | |
parent | Tweaks. (diff) | |
download | dotfiles-832d09a18b48b6594eed408ac2df0a5478f27023.tar.gz dotfiles-832d09a18b48b6594eed408ac2df0a5478f27023.zip |
vi-ish copy paste
Diffstat (limited to 'tmux')
-rw-r--r-- | tmux/tmux.conf | 4 |
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" |