sponsor Vim development Vim logo Vim Book Ad

Local configuration : Use different settings for different directories.

 script karma  Rating 45/15, Downloaded by 1368    Comments, bugs, improvements  Vim wiki

created by
Vijairaj R
 
script type
utility
 
description
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
(or)
Source this file in your vimrc.

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

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
localrc.vim 0.1 2005-11-24 6.0 Vijairaj R Initial upload
ip used for rating: 54.225.1.70

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