Hacker News new | past | comments | ask | show | jobs | submit login

This is cool, I didn't actually know you could configure Readline so the title is apt for me :D

Much like in the article I'm also a Vim user who excited to try Vim mode at the command line and I almost instantly hated it. I suppose it's almost required to mention tpope's rsi.vim[0] which gives you Readline bindings in insert and command modes. I've adopted Readline everywhere in my OS except in Vim normal mode which I believe is not too uncommon for many folks.

[0] https://github.com/tpope/vim-rsi




Did not know of this plugin but my life changed when I realized that pressing ALT+<key> registers as pressing Esc then pressing the key. Therefore in insert mode I just do ALT+I to go to start of line, ALT+A to go to end of line, ALT+o / ALT+O are also useful


Tpope's naming of those bindings is meant as a bit of a joke, maybe? I've always felt that Emacs bindings was leading to Repetitive Strain Injury; and really appreciate being able to use Vim bindings, even at the shell prompt.


People do like to talk about emacs bindings causing RSI, usually to rib on the editor and to keep the tradition of the editor wars going. However, there really isn't all that much evidence for it, is there?

Of course it's often in jest and somewhat famously the plural of anecdote is data, but it would be nice to know if there actually is something to the RSI. Ergonomics is complicated enough as-is.


My only evidence is that my RSI got better once I started using Vim full time. Of course, Vim forced me to learn to touch-type and I also never used Emacs, but I'm just going to go ahead and attribute the cured RSI 100% to Vim and assume every other editor causes it. That's my "research" tells me, at least! :D :D ;)


tpope has $DIETY-tier naming skills: `fuGITive`, `scriptEASE`, `PATHoGEN`


Wow, I never put script ease together, I figured he was purely being lude, lol. I feel a bit dumb but thanks for pointing it out!


You left the very best out: dadbod.vim (a DB helper)


I'm gonna go ahead and be a stinky and say I'm lukewarm on DadBod (as a name, the plugin is awesome). It's just a reference to a well-liked tweet he made and otherwise the only thing it really has to do with databases are the initials. I actually remember he released it under a different name and someone opened and issue saying it was a missed opportunity to call it "dadbod," lol.

Other good ones with more double meanings:

- PROJECTionist - unimPAIRed - COMMENTary


The name is certainly a joke but the plugin is not. There is certainly nothing wrong with using Vim bindings on the command line if you're into it! 'tis the beauty of configuration.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: