Does it really take four keystrokes to delete a line in Vim?(pjbrunet.com)
pjbrunet.com
Does it really take four keystrokes to delete a line in Vim?
http://pjbrunet.com/does-it-really-take-four-keystrokes-to-delete-a-line-in-vim/
1 comments
The way you use Vim, how often are you in INSERT mode? 10% of the time?
It certainly depends on what I'm working on, but as the saying goes code is typically read a lot more than it is written and there are definitely days of bug finding and editing where you hit or dip below 10% in insert mode, spending much more of your time in other modes or navigation. I'm not sure my average day is 10%, the mean is probably more like somewhere between 25-40% when I was most heavily using Vim to write code.
I'm more often going to be in insert mode writing prose, but that is a different flow state. Also, even with prose it sometimes feels like you spend more time editing it than writing it.
I'm more often going to be in insert mode writing prose, but that is a different flow state. Also, even with prose it sometimes feels like you spend more time editing it than writing it.
One of the things that typically helps to get into this mode of thinking is to take advantage of/get used to using the home row "arrow keys" (hjkl) for navigation. Instead of moving your hand to the arrow keys (or worse, all the way over to your mouse), don't leave the home row and try navigating in normal mode with hjkl.