diff --git a/.vimrc b/.vimrc index 252fd0d..539cb71 100644 --- a/.vimrc +++ b/.vimrc @@ -81,3 +81,12 @@ nnoremap :m .+1== nnoremap :m .-2== vnoremap J :m '>+1gv=gv vnoremap K :m '<-2gv=gv + +" Remaps to automatically closing brackets and other stuff +inoremap " "" +inoremap ' '' +inoremap ( () +inoremap [ [] +inoremap { {} +inoremap { {}O +inoremap {; {};O