-
Notifications
You must be signed in to change notification settings - Fork 0
Change directory to one containing a Makefile
vim-scripts/FindMakefile
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a mirror of http://www.vim.org/scripts/script.php?script_id=799 Change directory to the directory containing the current file and then repeatedly "cd .." until ./Makefile exists. You run it by enterning :call FindMakefile() I've mapped <F4> to a function that calls FindMakefile () and then does "mak %<.o" I needed this because using tags to jump to a source file sometimes left me with the wrong current working directory for this to work.
About
Change directory to one containing a Makefile
Resources
Stars
Watchers
Forks
Packages 0
No packages published