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?
Try :help makeprg
You use :set makeprg=xxx to change the command that is executed.
In order to run an XCode build from CLI, the command is xcodebuild. I have never tried it inside vim, though.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With