Skip to content

Automatically changes the current working directory to the projects root

License

Notifications You must be signed in to change notification settings

AlxHnr/project-chdir.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This plugin changes the current working directory to the projects root. It works by searching from a files directory upwards until a project file is found.

The defaults can be overridden or extended by associating filenames with priorities:

let g:project_chdir#items =
  \ {
  \   '.git':      2,
  \   'Makefile':  1,
  \   'README.md': 0,
  \ }

About

Automatically changes the current working directory to the projects root

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published