News for hackers. Stuff that matters.
Re:Your problem with Vim is that you don't grok vi by nul_byte on Tuesday July 18, 2017 @10:37AM (#14796829)
"The "Zen" of vi is that you're speaking a language. The initial y is a verb. The statement yy is a synonym for y_"

ok, so what is y underscore?

Re:Your problem with Vim is that you don't grok vi by sevensor on Tuesday July 18, 2017 @02:22PM (#14798860)
This is maybe not the best example. I've used vi for a very long time, and I'm only now finding out about the underscore. The point that's being made here is that the first y is an action and the second is a motion. I was content to think of "yy" as a special case. Better examples would be yw, ye, yj, which respectively yank to the beginning of the next word, the end of the current word, and the current line plus the one following it.
Re:Your problem with Vim is that you don't grok vi by BenjiWiebe on Tuesday July 18, 2017 @01:57AM (#14794483)
That first answer... Is amazing. I have used vim exclusively for several years now, and just skimming the first answer has probably changed how I use vim forever.
Re:Your problem with Vim is that you don't grok vi by kronos29296 on Tuesday July 18, 2017 @10:12AM (#14796613)
I have been using vim/neovim for 6 months now and thought that I was making a good use of the editor (I came from Atom and what a good decision that was). Now this just opened new ways of using the editor that I never knew. (I have only used %s/ command).

Must read for any vim user who has completed the beginner stage and wants more to learn. (Pure gold).

Re:Your problem with Vim is that you don't grok vi by jduong on Tuesday July 18, 2017 @04:41PM (#14799886)
Never thought about vim this way.
Re:Your problem with Vim is that you don't grok vi by draw_down on Tuesday July 18, 2017 @10:47AM (#14796912)
Yuck.