How to source all vim files in directory

前端 未结 4 655
遥遥无期
遥遥无期 2021-01-31 16:14

I have split my .vimrc into several files and placed them into ~/vimfiles/vimrc.d/.

Currently I source each file in that directory using exact name:

4条回答
  •  你的背包
    2021-01-31 16:52

    You can just put your files in the plugins directory (~/.vim/plugin). They will be automatically loaded.

提交回复
热议问题