]> git.rmz.io Git - dotfiles.git/blobdiff - vim/vimrc
vim: don't reset all autocommands on sourcing vimrc
[dotfiles.git] / vim / vimrc
index c4872527f4691c5e846c6ef6959f9d3704910044..2f0a7ca67a91004a32f72207d6ede9133fa07df8 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -1,14 +1,11 @@
+" force python3
+if has('python3') | endif
+
 " runtimepath {{{1
 set runtimepath ^=$XDG_CONFIG_HOME/vim
 set runtimepath +=$XDG_CONFIG_HOME/vim/after
 
 " runtimepath {{{1
 set runtimepath ^=$XDG_CONFIG_HOME/vim
 set runtimepath +=$XDG_CONFIG_HOME/vim/after
 
-" force python3
-if has('python3') | endif
-
 " plugins {{{1
 " plugins {{{1
-" remove all autocommands
-autocmd!
-
 call plug#begin('$XDG_DATA_HOME/vim')
 " This does not update vim-plug, use PlugUpgrade instead
 Plug 'junegunn/vim-plug'
 call plug#begin('$XDG_DATA_HOME/vim')
 " This does not update vim-plug, use PlugUpgrade instead
 Plug 'junegunn/vim-plug'