sponsor Vim development Vim logo Vim Book Ad

ProjectConfig : Per-project Vim configuration

 script karma  Rating 0/0, Downloaded by 11  Comments, bugs, improvements  Vim wiki

created by
Timothy Madden
 
script type
utility
 
description
Write a Vim script that will be sourced every time you enter a project directory, with :cd or :NERDTree, or when you :edit a file from the directory. The project directories are specified in the local vimrc file, so ProjectConfig plugin does not need to search parent directories of your open files for a special file (like .project or .git or .editorconfig).

The script can use simple API functions to generated tags files for your project, and to populate the Vim options 'tags' and 'path'. The simple API works by defining simple
logical modules within your project, for example one per executable or per external library. Such modules have a set of include directories and source directories.

See the include help file, or the README.md page on github, for more details.

Project repository at https://github.com/terminatorul/ProjectConfig
 
install details
Unpack the archive with unxz or 7-zip, open Vim in the same directory as the resulting file, and run:
    :edit ProjectConfig.vmb
    :source %
    :quit

You can also use a plugin manager (like Vundle) to install the plugin directly from the source repository. For Vundle use

    call vundle#begin()

#
# .. other plugins you use with Vundle
#

Plugin 'terminatorul/ProjectConfig'
    call vundle#end()
 

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
ProjectConfig.vmb.xz 1.0 2024-01-22 9.0 Timothy Madden Initial upload
ip used for rating: 207.241.235.133

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