Question

I use MacVim as my editor within Xcode. By default Command-B and :make are bound to call 'make' from the command line. As we're using Xcode for building and project configuration, I'd like to replace the :make/Command-B calls to make with an applescript command. Is this possible, and how would I go about doing it?

Was it helpful?

Solution

Try :help makeprg

You use :set makeprg=xxx to change the command that is executed.

OTHER TIPS

In order to run an XCode build from CLI, the command is xcodebuild. I have never tried it inside vim, though.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top