1

When I run a command using make, it runs from a different directory than running it as a regular command with !. My app is a CBRA, and I open vim from within a component. The top-level app, though, is where the git repository is rooted.

Running :pwd returns /Users/bill/dev/app/components/my_component.

Running :!pwd returns /Users/bill/dev/app/components/my_component.

Running :set makeprg=pwd followed by :make returns /Users/bill/dev/app.

I'd like to run my make commands from within my pwd, preferably without having to prepend a cd to everything.

The only related configuration I could find is autochdir, which is set to noautochdir.

0 Answers0