Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Working with XCode #8

Open
jwu opened this issue Mar 22, 2014 · 0 comments
Open

Working with XCode #8

jwu opened this issue Mar 22, 2014 · 0 comments
Assignees
Labels
Milestone

Comments

@jwu
Copy link
Member

jwu commented Mar 22, 2014

Here has a nice document: http://www.kunli.info/2010/09/19/xcode-vim-integration/

update the :make command to tell Xcode to build
set makeprg=osascript\ -e\ \”tell\ application\ \\\”Xcode\\\”\”\ -e\ \”build\”\ -e\ \”end\ tell\”

function! XcodeClean()
silent execute ‘:!osascript -e “tell application \”Xcode\”" -e “Clean” -e “end tell”‘
endfunction
command! -complete=command XcodeClean call XcodeClean()

function! XcodeDebug()
silent execute!osascript -e “tell application \”Xcode\”" -e “Debug” -e “end tell”‘
endfunction
command! -complete=command XcodeDebug call XcodeDebug()

” Command-K cleans the project
:noremap :XcodeClean
” Command-Return Starts the program in the debugger
:noremap :XcodeDebug
@jwu jwu added this to the Long term milestone Mar 22, 2014
@jwu jwu added the new label Mar 22, 2014
@jwu jwu self-assigned this Mar 22, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant