sponsor Vim development Vim logo go to HTTPS page Vim Book Ad

Local configuration : Use different settings for different directories.

 script karma  Rating 61/19, Downloaded by 1826    Comments, bugs, improvements  Vim wiki

created by
Vijairaj R
script type
I work in a project which involves contribution from many other people each with their own coding style. This script helps to load files from different places but with the right settings. I use "ts=4, sw=4, ..." in directories i use, and set it to "ts=8, sw=8, ..." in the root of the linux kernel directory. These configurations are stored in a file called .lvimrc, subdirectories inherit the settings from their parent unless the subdirectory itself doesnot have a .lvimrc file.
install details
Either copy the content to your vimrc file
Source this file in your vimrc.

Create .lvimrc file with the necessary settings in folder you want to customize.

Rating scripts is only available on the HTTPS page

script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
localrc.vim 0.1 2005-11-24 6.0 Vijairaj R Initial upload
ip used for rating:

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.
SourceForge.net Logo