" instead. Thanks to godlygeek in #vim on Freenode (2009-06-19 22:21).
if $HOME == '/root' || exists('$SUDO_USER')
echomsg 'Running as root is forbidden! Use sudoedit.'
- qa
+ qall
endif
" Easy way to exit insert mode.
inoremap jj <Esc>
+" Also for command mode, thanks to http://github.com/mitechie/pyvim
+" (2010-10-15).
+cnoremap jj <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).