DEV Community

Discussion on: Time to End the vi/Emacs Debate

Collapse
 
mgaruccio profile image
mgaruccio

Vi is ideal for editing config files, particularly inside of ssh sessions. It's also arguably just as easy to use as nano for things like rebases once you've learned the basic commands.

Beyond that the keybindings allow for some insanely quick text editing but require a bunch of time to learn, so not sure where the break-even point us in terms of time saved....

Collapse
 
zendhetmij profile image
zend

I have been using nano for year before thinking I needed more for remote access using ssh. For me I notices that after only 10 minutes in the vimtutor i was on the same level as my nano skills. maybe this gives an estimate for your breakeven point.

AFter that doing each day a few lessons on the vimtutor made it even easier to use vim and really saved more time editing.

I believe I'm still close to the level that vimtutor thought me, because honestly I don't need much more for my remote editing. maybe I picked up a a few tricks when I had specific needs that I googled. Programming I still prefer to do in a complete ide, simply because it saves time, just like vim does for me in the cli.

Saying that vim had a steep learning curve probably procrastinated my choice to try VIM. It actually is pretty easy and fast to learn, you just have to invest 10 minutes to get started using vimtutor. I think that learning the same tricks in other ide's took even more time, but the keystrokes are ofter the same i give you.