From 7f29a1e519d51934ecf86ddd6fc7d080b2eaaf91 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Sun, 30 May 2021 14:59:12 +0700 Subject: Set up mbsync --- vim/.vim/vimrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'vim') diff --git a/vim/.vim/vimrc b/vim/.vim/vimrc index 6d42ed5..acef708 100755 --- a/vim/.vim/vimrc +++ b/vim/.vim/vimrc @@ -22,7 +22,8 @@ augroup vimrc autocmd BufNewFile,BufRead *.PAS setlocal filetype=pascal autocmd BufNewFile,BufRead *.ms setlocal filetype=groff autocmd BufNewFile,BufRead *.m setlocal filetype=octave - autocmd FileType asm,c,h,go,glsl,sshconfig,php + autocmd BufNewFile,BufRead *.h setlocal filetype=c + autocmd FileType asm,c,h,gitconfig,gitsendemail,go,glsl,sshconfig,php \ setlocal cindent cinoptions=(0 noexpandtab shiftwidth=8 tabstop=8 autocmd FileType vim,sh,scheme,lua,tex,cmake,cpp,plantuml,html,octave,pascal \ setlocal shiftwidth=2 @@ -49,6 +50,7 @@ Plug 'https://github.com/vim/killersheep' Plug 'https://github.com/sheerun/vim-polyglot' Plug 'https://github.com/francoiscabrol/ranger.vim' Plug 'https://github.com/srcery-colors/srcery-vim' +Plug 'https://github.com/tpope/vim-unimpaired' Plug 'https://github.com/davidhalter/jedi-vim', {'for': 'python'} Plug 'https://github.com/lervag/vimtex', {'for': 'tex'} Plug 'https://github.com/kovisoft/slimv', {'for': 'lisp'} -- cgit 1.4.1