https://github.com/ArtBIT/vim-modularvimrc
Load directory specific .vimrc files (including the ones from parent directories)
https://github.com/ArtBIT/vim-modularvimrc
neovim vim vim-plugin vim-plugins vimrc
Last synced: 8 months ago
JSON representation
Load directory specific .vimrc files (including the ones from parent directories)
- Host: GitHub
- URL: https://github.com/ArtBIT/vim-modularvimrc
- Owner: ArtBIT
- License: mit
- Created: 2018-03-29T11:01:24.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-29T12:06:16.000Z (about 8 years ago)
- Last Synced: 2025-02-09T04:42:00.245Z (over 1 year ago)
- Topics: neovim, vim, vim-plugin, vim-plugins, vimrc
- Language: Vim script
- Homepage:
- Size: 2.93 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Modular .vimrc loader
This is a simple plug-in for Vim (and NeoVim) that auto loads directory specific `.vimrc` config.
Say you have a project specific list of plugins that you wish to use, or per project build tools, or snippets or keyboard shortcuts, or simply a project specific `.vimrc` file that you wish to share amongst the team, this plugin allows you to do that.
## Installation
The easiest way to install the plugin is to install it as a bundle.
For example:
### Using [Pathogen](https://github.com/tpope/vim-pathogen):
```
cd ~/.vim/bundle
git clone git://github.com/ArtBIT/vim-modularvimrc.git
```
### Using [VimPlug](https://github.com/junegunn/vim-plug):
```
Plug 'ArtBIT/vim-modularvimrc'
```
### Or manually
```
cd /tmp && git clone git://github.com/ArtBIT/vim-modularvimrc.git
cp -r vim-modularvimrc/* ~/.vim/
```
## Config
Plugin assumes that the config files are named `.vimrc`, if you want to change it to say, `.vimconfig` add the following line to your `.vimrc`:
```
let g:modularvimrc#filename = ".vimconfig"
```
# LICENSE
[MIT](LICENSE.md)