From 6e411ae683ed943c3e2a490d33a8613e16fa3817 Mon Sep 17 00:00:00 2001 From: tdpeuter Date: Tue, 26 Apr 2022 16:31:05 +0200 Subject: [PATCH] Added auto close brackets --- config/.vimrc | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/config/.vimrc b/config/.vimrc index 9eeb44a..eb1ef63 100644 --- a/config/.vimrc +++ b/config/.vimrc @@ -8,6 +8,9 @@ filetype indent on set tabstop=4 set shiftwidth=0 set expandtab +set smarttab +set autoindent +set smartindent set incsearch set number set showmatch @@ -15,6 +18,14 @@ set title set wildignore=*.docx,*.jpg,*.png,*.gif,*.pdf,*.pyc,*.exe,*.flv,*.img,*.xlsx syntax on +" Automatically add closing parts +inoremap { {} +inoremap ( () +inoremap [ [] +inoremap < <> +inoremap ' '' +inoremap " "" + " PLUGINS --------------------------------------------------------------- {{{ call plug#begin('~/.vim/plugged')