]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
tmux.conf: Add Ctrl-P/Ctrl-N as arrow key replacements.
authorSimon Ruderich <simon@ruderich.org>
Fri, 10 Jun 2011 09:02:51 +0000 (11:02 +0200)
committerSimon Ruderich <simon@ruderich.org>
Fri, 10 Jun 2011 09:02:51 +0000 (11:02 +0200)
tmux.conf

index ced99a1d52c3d4999891d738fcdc8f87bab50752..fbecbad79932c6f0c5a8cdf50bcfbf972aebf19f 100644 (file)
--- a/tmux.conf
+++ b/tmux.conf
@@ -63,4 +63,8 @@ bind-key C-p previous-window
 bind-key C-[ copy-mode
 bind-key C-] paste-buffer
 
+# Arrow-key replacements for tmux's prompt.
+bind-key -t vi-edit C-n history-down
+bind-key -t vi-edit C-p history-up
+
 # vim: ft=tmux