]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - vimrc
Use jk in addition to jj to exit insert mode.
[config/dotfiles.git] / 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).