From 2df5200b96c25707976a2d711d8ae9ec28a731f6 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 8 May 2010 10:48:15 +0200 Subject: [PATCH] vimrc: Use C-p/C-n as replacement for up/down arrows in command mode. --- vimrc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/vimrc b/vimrc index 7223677..e6a716e 100644 --- a/vimrc +++ b/vimrc @@ -190,6 +190,15 @@ imap imap imap imap +" Also disable up and down array in command mode, use / as +" replacement (see below). +cmap +cmap + +" Use Ctrl-P/Ctrl-N as replacement for / in command mode. Thanks to +" abstrakt and grayw in #vim on Freenode (2010-04-12 21:20). +cnoremap +cnoremap " Use to move down a page and - to move up one like in mutt. nnoremap -- 2.44.2