Created
May 31, 2012 20:41
-
-
Save gregsexton/2846089 to your computer and use it in GitHub Desktop.
The core of my objc.vim ftplugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setlocal makeprg=xcodebuild\ -configuration\ Debug | |
setlocal errorformat=%f:%l:%c:%.%#\ error:\ %m,%f:%l:%c:%.%#\ warning:\ %m,%-G%.%# | |
command! -buffer OpenFileInXCode silent !xed % | |
command! -buffer RebuildTags exec "!~/bin/ctags -R --language-force=ObjectiveC ." | |
nmap <buffer> <silent> K :exec 'silent !open "'. escape('http://www.google.com/search?q='.expand('<cword>').'&btnI=745', ' &!%').'"'<cr>:redraw!<cr> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment