VIM Destroys All Other Rails Editors
adamlowe.me
VIM Destroys All Other Rails Editors
1–10 of 42 posts
Re: VIM Destroys All Other Rails Editors
#2The headline is cheerful, ironic attention-grabbing; the writer acknowledges text editor choice is a preference, then lays out briefly how to set up vim for RoR development.
Re: VIM Destroys All Other Rails Editors
#3Cream is a good VIM editor on Windows.
Re: VIM Destroys All Other Rails Editors
#4+ for mentioning all tpope's plugins/bundles.
- for some poor suggestions.
Re: VIM Destroys All Other Rails Editors
#5VIM DESTROYS ALL EDITORS PERIOD
Re: VIM Destroys All Other Rails Editors
#6+ for mentioning all tpope's plugins/bundles. - for some poor suggestions.
Pray tell, what are your suggestions and criticisms? A friend of mine after a horrible computer bitswap, bit into vim after TextMate. I wanted to follow, just to learn. This is actually fantastic for me -- there are various . configs I knew nothing of, but now can grep/google for info.
Please advise.
Re: VIM Destroys All Other Rails Editors
#7Cream is a good VIM editor on Windows.
I tried cream for a bit, and decided that I would be much better off juts learning to use vim qua vi, rather than trying to make it more like the typical win32 editor.
Re: VIM Destroys All Other Rails Editors
#8I too use tabstop=2
But `cat` uglifies it, so I added this to ~/.bashrc:
alias tab='sed "s/\t/ /g" '
You needn't say "cat myfile | tab"; you can just use it exactly like cat: "tab myfile" (I'm not saying that you'd not instantly realize that - but that I didn't).Re: VIM Destroys All Other Rails Editors
#9I too use tabstop=2 But `cat` uglifies it, so I added this to ~/.bashrc: alias tab='sed "s/\t/ /g" ' You needn't say "cat myfile | tab"; you can just use it exactly like cat: "tab myfile" (I'm not saying that you'd not instantly realize that - but that I didn't).
unless you prefer tabs, you can add:
set expandtab
to your .vimrc and then vim will magically insert spaces (according to your tabstop/shiftwidth) instead of real tabs.
:retab will turn all tabs into spaces for a file that already has tabs in it.
Re: VIM Destroys All Other Rails Editors
#10I expected to see a bit more of how to use all those plugins. But I suppose a list of them is better than nothing.