I've been trying to order my .vimrc
a bit -
divide everything into different files and source everything in it:
source ~/.vim/settings/general.vim
source ~/.vim/settings/functions.vim
source ~/.vim/settings/bindings.vim
source ~/.vim/plugins/autocorrect/plugin/autocorrect.vim
source ~/.vim/settings/playground.vim
The general.vim
contains all the settings of Vim (eg set nocompatible
).
So far, only binding.vim
and autocorrect.vim
seem to work.
The first two files have to be included in the .vimrc
for them to work.
Does anyone have any idea as to why?
Got it. It eventually WAS an issue of trailing spaces, only I failed to recognize it with the text editor. When removed, it worked perfectly.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.