sponsor Vim development Vim logo Vim Book Ad

local_vimrc.vim : Load local vimrs's from $HOME to the current directory

 script karma  Rating 20/7, Downloaded by 1474  Comments, bugs, improvements  Vim wiki

created by
Luc Hermitte
 
script type
utility
 
description
Note: this plugin is maintained on github: https://github.com/LucHermitte/local_vimrc
The last standalone version is available at: http://code.google.com/p/lh-vim/source/browse/misc/trunk/plugin/local_vimrc.vim

---------------------------------

The aim of local_vimrcis to apply settings on files from a same project.

A project is defined by a root directory: everything under the root directory belongs to the project. No need to register every single file in the project, they all belong.

This plugin recursively sources the _vimrc_local.vim files present from $HOME to the directory of the current buffer every time we change buffer.

Example: current dir is ~/a/b/c. Files are sourced in this order:
~/_vimrc_local.vim, then ~/a/_vimrc_local.vim, ~/a/b/_vimrc_local.vim, and finally ~/a/b/c/_vimrc_local.vim

No messages issued if some of _vimrc_local.vim does not exist.


See the official plugin homepage for more details.
 
install details
As the plugin have a dependency to lh-vim-lib, use vim-addon-manager (or any other vim-pi compatible plugin manager) to install it
   :UpdateAddons local_vimrc
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
local_vimrc.vim 1.3 2003-08-06 6.0 Luc Hermitte Initial upload
ip used for rating: 3.16.15.149

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github