Re:What Is the Most Valuable Thing You Can Learn in One Hour?
by KlayySOC on Tuesday December 31, 2019 @07:10PM
(#21925708)
Maybe I'm missing something, but wouldn't ctrla+a select all text?
To add a newline above, I just press home and enter. For newline below end and enter. The keys are right next to each other. Vim doesn't seem more convenient for this case
Re:What Is the Most Valuable Thing You Can Learn in One Hour?
by stjohnswarts on Wednesday January 01, 2020 @01:22AM
(#21926920)
more things are available from the home row than with typical windows editor keystrokes; less pinky and more big 3 finger locations than in your typical windows editor keyboard shortcuts as well. Also once you get the basics down you can learn more powerful keystroke combinations than you ever imagined on windows text editors.
For example, right now, how do you make a blank line above your cursor and move your cursor there? Do you maybe go ctrl-a to move the cursor to the front of the current line, carriage return to move the current line own, then press up-arrow to move your cursor to the new, empty line? In Vim, it's just capital O. lower-case o to create an empty line below you and move your cursor there. And I could go on for all sorts of simple tasks that have most people reaching for their mouse.
Entry-level Vim keybindings just make these basic tasks more pleasant.
I got pretty hard-core into Vim when I was in uni and had time to care and credentialize in Vim. Nowadays, I'm switching between so many editors that I'm happy just using basic Vim keybindings.