|
|
|
|
|
by mumblemumble
1708 days ago
|
|
But compare the ergonomics of: 1. yi{
To: 1. Find line number of start of scope.
2. Decide on easiest way to get there, and either:
- kk
- 5k
- 37G
3. Find the end of the scope.
4. Decide how to grab it. Then:
- y9G$
- y3j
- V, jjj, y
I hope maybe I've made my case that it's more awkward, right? That is not to say that I don't know how to do it. It's just that, in the one case, I can do the job in one thoughtless action that lives so deeply in my muscle memory that I barely even consciously remember what the actual keystrokes involved are. By contrast, in the other, it takes several steps, some of which are likely to be small pauses to decide how to do the next step. |
|
More modern editors (e.g. VS Code) and modern IDE's (e.g. IDEA, CLion, Visual Studio) make either indenting absolutely trivial.