Live data from Hacker News

VIM Destroys All Other Rails Editors

adamlowe.me

21–30 of 42 posts

Re: VIM Destroys All Other Rails Editors

#21

The 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.

No offence, but this comment sounds more like a one generated by a bot of some kind.

More like JokeExplainer from Reddit.

Re: VIM Destroys All Other Rails Editors

#22
post #15

Poor article in the sense that it does little more than list out the plugins, rather than providing some commentary on how each plugin improves productivity.

I was disappointed as well.

I do recommend the articles listed on the Rails wiki's 'Text Editors' page for Vim, though: http://wiki.rubyonrails.org/text-editors

(Listed here in case that page is changed: http://weblog.jamisbuck.org/2008/10/10/coming-home-to-vim, http://weblog.jamisbuck.org/2008/11/17/vim-follow-up, http://biodegradablegeek.com/2007/12/using-vim-as-a-complete...)

Re: VIM Destroys All Other Rails Editors

#23
post #18
post #12

Ugh. Not sure about you, but I think HN should be a IDE/Editor blog post restricted site. There was recently a thread on erlang-general that was almost 100 replies long. It started out as "Is Erlang a Good First Language?"... then slowly dissolved into "IDE Bashing". I had to switch my mailing list options to digest I was getting so many emails each day with personal rants. The thing is, Emacs and Vim are awesome, an…

That's horrible! No one should ever have to use digest mode, especially since it makes the list even worse for everyone else. Maybe you should get a better email client? I know some people that use Gmail as a mailing list client independently from their normal mail.

"Maybe you should get a better email client? "

I hear Emacs is an E-mail client ...

Re: VIM Destroys All Other Rails Editors

#24
post #9
post #8

I 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.

thanks! "Vim contains every features you could possibly imagine, and then some. Even when taking this law into account" - 10ren's Law

Re: VIM Destroys All Other Rails Editors

#25
post #19
post #8

I 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).

You needn't ever say "cat myfile | ..." period! The shell has stdin redirection built in via '<'

What happened to TIMTOWTDI? :-)

Re: VIM Destroys All Other Rails Editors

#26
post #19

Earlier quoted context omitted.

You needn't ever say "cat myfile | ..." period! The shell has stdin redirection built in via '<'

What happened to TIMTOWTDI? :-)

What's TIMTOW? And why would you want a turbo diesel, fuel injected version of it?

Re: VIM Destroys All Other Rails Editors

#27
I thought the article was worth while if only for pointing me at various plugins I wasn't aware of. If you're a vim hardcore then this is probably nothing new... but for others who are not it seemed useful. I agree that having some more info on why these plugins are useful would be nice, but following the links was easy enough to see if the plugin was interesting.

Re: VIM Destroys All Other Rails Editors

#28
post #18

Earlier quoted context omitted.

That's horrible! No one should ever have to use digest mode, especially since it makes the list even worse for everyone else. Maybe you should get a better email client? I know some people that use Gmail as a mailing list client independently from their normal mail.

"Maybe you should get a better email client? " I hear Emacs is an E-mail client ...

And it manages mailing lists quite well.

Re: VIM Destroys All Other Rails Editors

#29
post #19
post #8

I 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).

You needn't ever say "cat myfile | ..." period! The shell has stdin redirection built in via '<'

Unless you want to read your pipeline from left to right, like everything else you read.
Post reply on HN