Skip to content

Plugin for vim which will load up additional configuration files that reside in the same directory tree as the file opened.

License

Notifications You must be signed in to change notification settings

numerical/vim-dirrc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

#'dirrc' Plugin

This is a simple plugin that loads directory tailored '.vimrc' files

##Variables

###g:dirrc_resource_name Defines the name of the file to look in local directories Default: '.vimrc'

###g:dirrc_security Defines the security level of dircc. Possible values are 1 if you would like dircc to ask before it loads a file and 0 for automatic loading Default: 1

##Example

If you open a file in ~/projs/someproj/src/ dirrc will load in this order:

  • ~/projs/.vimrc
  • ~/projs/someproj/.vimrc
  • ~/projs/someproj/src/.vimrc

Assuming of course they exist

##Warning

If you install this plugin make sure you know where all .vimrc files come from An attacker could theoretically cause you to run shell commands without you knowing it. (hattip: [email protected])

About

Plugin for vim which will load up additional configuration files that reside in the same directory tree as the file opened.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published