From f55b0022b376f3b9d76da8041335a13585ea3fe7 Mon Sep 17 00:00:00 2001 From: jdhao Date: Wed, 3 Nov 2021 08:46:09 +0800 Subject: [PATCH] more mapping --- core/mappings.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/mappings.vim b/core/mappings.vim index 07112b4..60c044e 100644 --- a/core/mappings.vim +++ b/core/mappings.vim @@ -179,3 +179,6 @@ nnoremap J mzJ`z for ch in [',', '.', '!', '?', ';', ':'] execute printf('inoremap %s %su', ch, ch) endfor + +" insert semicolon in the end +inoremap ;; miA;`ia