summaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2020-01-05 22:43:18 +1300
committerDavid Phillips <david@sighup.nz>2020-01-05 22:43:18 +1300
commit1f87b9f86a9634d4a10814a1c7e80f7fcd6e712e (patch)
tree1ba4fe7b76ca8065123767f90dccf0289480fc8a /vimrc
parent388b3bd43daa4d14aba08d85a683f1877eb6ec5c (diff)
downloaddotfiles-1f87b9f86a9634d4a10814a1c7e80f7fcd6e712e.tar.xz
vim: map jj and jk to ESC
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index 43fb8b9..01479f9 100644
--- a/vimrc
+++ b/vimrc
@@ -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>