From: Simon Ruderich Date: Sat, 8 May 2010 08:48:15 +0000 (+0200) Subject: vimrc: Use C-p/C-n as replacement for up/down arrows in command mode. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=2df5200b96c25707976a2d711d8ae9ec28a731f6;p=config%2Fdotfiles.git vimrc: Use C-p/C-n as replacement for up/down arrows in command mode. --- 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