summaryrefslogtreecommitdiffhomepage
path: root/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc4
1 files changed, 3 insertions, 1 deletions
diff --git a/vimrc b/vimrc
index a86df28..11b42ab 100644
--- a/vimrc
+++ b/vimrc
@@ -41,9 +41,11 @@ nnoremap H 0
41nnoremap L $ 41nnoremap L $
42nnoremap <C-L> 60l 42nnoremap <C-L> 60l
43nnoremap <C-H> 60h 43nnoremap <C-H> 60h
44inoremap jk <ESC>
45inoremap <ESC> <nop> 44inoremap <ESC> <nop>
46 45
46" Fix paste bug triggered by inoremaps
47set t_BE=
48
47" surround with '' or "" 49" surround with '' or ""
48nnoremap <leader>' ea'<esc>bi'<esc>e 50nnoremap <leader>' ea'<esc>bi'<esc>e
49nnoremap <leader>" ea"<esc>bi"<esc>e 51nnoremap <leader>" ea"<esc>bi"<esc>e