How to switch between multiple vim configurations with a command or local vimrc files?

后端 未结 12 1325
花落未央
花落未央 2020-12-04 05:43

I work in several groups, each of which has its own tab/indentation/spacing standards in C.

Is there a way to have separate selectable VIM configurations for each so

12条回答
  •  爱一瞬间的悲伤
    2020-12-04 06:29

    Plugin doing the right thing: http://www.vim.org/scripts/script.php?script_id=441

    “This plugin searches for local vimrc files in the filesystem tree of the currently opened file. By default it searches for all ".lvimrc" files from the file's directory up to the root directory and loads them in reverse order. The filename and amount of loaded files is customizable through global variables.”

提交回复
热议问题