sponsor Vim development Vim logo Vim Book Ad

localrc.vim : Enable configuration file of each directory.

 script karma  Rating 92/29, Downloaded by 1755  Comments, bugs, improvements  Vim wiki

created by
thinca
 
script type
utility
 
description
You can put a configuration file for the files below the certain directory.

The configuration file is a Vim script of a decided file name like .vimrc.
The file name is specified by |g:localrc_filename|.

Configuration file applied only to a specific filetype can be put.  The file
name is specified by |g:localrc_filetype|.

When two or more configuration files exist, it is sequentially loaded from a
shallow hierarchy.
For example:
~/
|- .local.vimrc (1)
`- project/
   |- .local.vimrc (2)
   `- src/
      |- .local.vimrc (3)
      `- main.c
In this case, when main.c is loaded, the configuration files are loaded in order
of the number.

Latest Version:
https://github.com/thinca/vim-localrc
 
install details
 

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
vim-localrc-0.1.2.zip 0.1.2 2011-01-25 7.2 thinca - Improved the default value of |g:localrc_filetype|.
- Use "%" instead of "<afile>".
vim-localrc-0.1.0.zip 0.1.0 2011-01-07 7.2 thinca Initial upload
ip used for rating: 142.132.191.50

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