]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
Use jk in addition to jj to exit insert mode.
authorSimon Ruderich <simon@ruderich.org>
Sat, 7 May 2011 12:26:01 +0000 (14:26 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sat, 7 May 2011 12:26:01 +0000 (14:26 +0200)
jk feels a little faster.
n addition to n addition to #   (use "git add <file>..." to include in what will be committed)

vimrc

diff --git a/vimrc b/vimrc
index c9d57d0d5a5bf9f3747eda0292bd992fa36bb979..b4e44dcb487bd3f6017a9f289189abb6c5359f4b 100644 (file)
--- a/vimrc
+++ b/vimrc
@@ -192,9 +192,11 @@ endif
 
 " Easy way to exit insert mode.
 inoremap jj <Esc>
+inoremap jk <Esc>
 " Also for command mode, thanks to http://github.com/mitechie/pyvim
 " (2010-10-15).
 cnoremap jj <C-C>
+cnoremap jk <C-C>
 
 " Disable arrow keys for all modes except command modes. Thanks to James Vega
 " (http://git.jamessan.com/?p=etc/vim.git;a=summary).