Re:Why, oh why, do those nutheads use vi?
by artursapek on Thursday February 02, 2012 @11:38AM
(#3543367)
But why do you stop using it in your scenario? Why does the restaurant have to go out of business?
[ Parent
| on HN ]
Re:Why, oh why, do those nutheads use vi?
by natesm on Thursday February 02, 2012 @11:47AM
(#3543418)
Well, I use Xcode because the performance loss in writing Objective-C without autocompletion is larger than the performance gain from using vim. However, navigation is just so painful, and "awful" is really being kind about Xcode's find/replace.
Re:Why, oh why, do those nutheads use vi?
by blinks on Thursday February 02, 2012 @02:13PM
(#3544034)
Does http://www.corsofamily.net/jcorso/vi/ not work for you?
Is there no suitable vim autocomplete script for Objective-C?
Re:Why, oh why, do those nutheads use vi?
by weaksauce on Thursday February 02, 2012 @12:56PM
(#3543742)
How well does the clang autocomplete work?
Re:Why, oh why, do those nutheads use vi?
by weaksauce on Thursday February 02, 2012 @09:59PM
(#3545524)
Cannot edit my comment but it works pretty well actually.
see:
quick lookup and a quick find as you type function. I like that if you press delete it will lookup the scope prior. so like if you type "addobj" and then delete a few times to "add" it will show you all the add commands again. Probably standard fare but not all implementations get this right.
Install was painless and I was able to map the invocation to ctrl-space, probably a better way to do it but I did it in a few seconds without looking anything up:
inoremap <c-space> <c-x><c-u>