Local configuration : Use different settings for different directories.
| script karma
Downloaded by 1136
Comments, bugs, improvements
script versions (upload new version)
|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.
|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.
Click on the package to download.
ip used for rating: 220.127.116.11