How do I “source” something in my .vimrc file?

后端 未结 4 1955
孤独总比滥情好
孤独总比滥情好 2021-01-30 00:39

I\'ve been working on expanding my vim-foo lately and I\'ve run across a couple of plugins (autotag.vim for example) that require them to be \"sourced\" in my .vimrc file. What

4条回答
  •  孤街浪徒
    2021-01-30 01:04

    There is always the :source file command. I usually write .vimrc that contains custom commands and what not for the console application and then a .gvimrc that contains additional goodies that are appropriate for a windowed version. My .gvimrc starts with source $HOME/.vimrc to pick up everything from the console version before adding in new stuff.

提交回复
热议问题