Live data from Hacker News

VIM Destroys All Other Rails Editors

adamlowe.me

11–20 of 42 posts

Re: VIM Destroys All Other Rails Editors

#11

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.

Re: VIM Destroys All Other Rails Editors

#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, and they are "huge" programs. Also, they are "extremely" flexible, so one persons preferences might be way different than the others. For example, the blog post here uses MacVim and GVim? That's crazy talk (IMHO).

RTFM!

Re: VIM Destroys All Other Rails Editors

#13

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.

I'd love to see the code for such a bot! Well, me and a thousand NLP researchers, I'm sure.

[edit] NLP being Natural Language Processing, rather than Neuro-Linguistic Programming ;)

Re: VIM Destroys All Other Rails Editors

#14
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).

I generally use something like:

    expand -t "$tabWidth" "${files[@]}" | nl -b a | fold -s -w 108 | $PAGER
when I want to view files that use tabs; this is the final one-liner in a script I call 'view'. It gives me tabs expanded to width I specify (defaults 4), numbered lines, and long lines wrapped at word breaks but such that they don't break line numbering.

Re: VIM Destroys All Other Rails Editors

#16

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.

I was hoping to see some awesome new features that we could use in other editors. Kind of a let down.

Re: VIM Destroys All Other Rails Editors

#17

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.

Please tell me more about bots of this kind.

Re: VIM Destroys All Other Rails Editors

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

Re: VIM Destroys All Other Rails Editors

#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 '<'

Re: VIM Destroys All Other Rails Editors

#20
post #3

Cream is a good VIM editor on Windows.

I never seemed to understand cream.

The idea is to take vim and basically castrate it by getting rid of the standard keybindings and ways of doing things to make it 'easier' for non-vim users. It even appears they got rid of modal-editing.

The issue with this then they don't learn how to do things the vim way which defeats the purpose of using vim, just go use notepad++ or any other gui editor you get the same experience.

Post reply on HN