Skip to content
Browse files

Add vi-like bindings for tmux 'copy' mode.

  • Loading branch information...
1 parent 353f68c commit 02169fbdd857176f6fa564e94b56e8b5d3c634bc @nelstrom committed Jan 21, 2012
Showing with 6 additions and 1 deletion.
  1. +6 −1 tmux.conf
View
7 tmux.conf
@@ -18,4 +18,9 @@ set -g mouse-resize-pane on
set -g default-terminal "screen-256color"
set -g status-fg white
set -g status-bg black
-set -g mouse-resize-window on
+
+set-window-option -g mode-keys vi
+unbind p
+bind p paste-buffer
+bind -t vi-copy 'v' begin-selection
+bind -t vi-copy 'y' copy-selection

0 comments on commit 02169fb

Please sign in to comment.
Something went wrong with that request. Please try again.