diff options
author | David Phillips <david@sighup.nz> | 2020-01-05 22:43:18 +1300 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2020-01-05 22:43:18 +1300 |
commit | 1f87b9f86a9634d4a10814a1c7e80f7fcd6e712e (patch) | |
tree | 1ba4fe7b76ca8065123767f90dccf0289480fc8a /vimrc | |
parent | 388b3bd43daa4d14aba08d85a683f1877eb6ec5c (diff) | |
download | dotfiles-1f87b9f86a9634d4a10814a1c7e80f7fcd6e712e.tar.xz |
vim: map jj and jk to ESC
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -30,6 +30,8 @@ highlight ColorColumn ctermbg=234 match ExtraWhitespace /\s\+$/ inoremap <CR> <CR>x<BS> +inoremap jj <ESC> +inoremap jk <ESC> nnoremap o ox<BS> nnoremap O Ox<BS> |