From b547f2366916ba3119f1601e4f4cce1fe8abbde1 Mon Sep 17 00:00:00 2001 From: Shazin Date: Sat, 23 Dec 2023 04:13:16 +0600 Subject: [PATCH] Added auto pair close to minimal git config --- static/minimal-vimrc.vim | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/static/minimal-vimrc.vim b/static/minimal-vimrc.vim index 267504f..79b7487 100644 --- a/static/minimal-vimrc.vim +++ b/static/minimal-vimrc.vim @@ -61,3 +61,11 @@ set updatecount =100 set undofile set undodir =$HOME/.vim/files/undo/ set viminfo ='100,n$HOME/.vim/files/info/viminfo + +" Auto close pairs +inoremap { {}ha +inoremap ( ()ha +inoremap [ []ha +inoremap " ""ha +inoremap ' ''ha +inoremap ` ``ha