Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
load subdirectory specific vimrc files http://www.vim.org/scripts/script.php…
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Type||Name||Latest commit message||Commit time|
|Failed to load latest commit information.|
This is a mirror of http://www.vim.org/scripts/script.php?script_id=441 Sometimes, when you work on different projects, you have the problem, that they use different indentation, tab expansion and so on. You need vimrc for each project that overrides your prefered settings from ~/.vimrc This plugin searches for local vimrc files in the file system 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 are customizable through global variables. For security reasons it the plugin asks for confirmation before loading a local vimrc file and loads it using :sandbox command. The plugin asks once per session and local vimrc before loading it, if the file didn't change since previous loading. It is possible to define a whitelist and a blacklist of local vimrc files that are loaded or ignored unconditionally. If you think this plugin could be improved, fork on GitHub and send a pull request or just tell me your ideas. GitHub: https://github.com/embear/vim-localvimrc Bitbucket: https://bitbucket.org/embear/localvimrc