1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

more mapping

This commit is contained in:
jdhao 2021-11-03 08:46:09 +08:00
parent b96799f400
commit f55b0022b3

View File

@ -179,3 +179,6 @@ nnoremap J mzJ`z
for ch in [',', '.', '!', '?', ';', ':']
execute printf('inoremap %s %s<C-g>u', ch, ch)
endfor
" insert semicolon in the end
inoremap ;; <ESC>miA;<ESC>`ia