From: Simon Ruderich Date: Fri, 15 Oct 2010 14:37:09 +0000 (+0200) Subject: vimrc: Also use jj to exit command mode. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=c213332c656613a946df4b21dd7ec6c5fd512a14;p=config%2Fdotfiles.git vimrc: Also use jj to exit command mode. --- diff --git a/vimrc b/vimrc index e7fc77f..fef44f2 100644 --- a/vimrc +++ b/vimrc @@ -184,6 +184,9 @@ endif " Easy way to exit insert mode. inoremap jj +" Also for command mode, thanks to http://github.com/mitechie/pyvim +" (2010-10-15). +cnoremap jj " Disable arrow keys for all modes except command modes. Thanks to James Vega " (http://git.jamessan.com/?p=etc/vim.git;a=summary).