3 ms·
> Learning/using Vim has nothing to do with muscle memory. This is a common misconception that leads to rote learning and, since Vim has hundreds of commands, t
by vgel 5y ago
> Learning/using Vim has nothing to do with muscle memory. This is a common misconception that leads to rote learning and, since Vim has hundreds of commands, the use of flawed ready-made cheatsheets _and_ the looking for ways to bypass that horrifying learning curve.
Completely agree on rote learning vs learning the actual language of Vim and being able to compose commands fluently.
I guess my feeling on muscle memory is similar to muscle memory in a natural language. If someone was learning English, you wouldn't encourage them to simply memorize phrases from a phrasebook, but it still is important to practice -- it's not possible to hold a long conversation where you need to think about verb conjugations every sentence, to become fluent it needs to become automatic.
In the same way, I'm familiar enough with Vim to know "Oh I want to delete the contents of this string, OK that's delete=d + inner=i + string=' -> di', oh crap it was a double quoted string, ok u+di", uh what was I doing again?" I've struggled with finding a good way to practice Vim to the point where I don't make those kinds of mistakes and don't need to think about the operations, in the same way that when I speak English I don't (usually) think about the verb conjugations.
My thought on this tool would be basically a set of drills of the form "Change this file to look like this", which each force you to compose Vim commands in a certain way. In the same way a Spanish textbook might ask you to translate "I went to the store", "She went to the library", "They went to the soccer game", this would have you drill using these manipulation operators in different combinations and contexts until it became automatic.
I know Vimtutor has a little of this, but from what I remember doing it a few months ago, it focuses mostly on the simple commands that are pretty easy to pick up via analogy from other editors (ok dd is delete line, like ctrl+k in sublime), and doesn't have the repetition aspect (you can just do vimtutor multiple times, but then you don't get variety).
- johncoltrane 5y agoI would put more emphasis on the grammar (operator+motion, use of case for mirroring, etc.) than on the vocabulary… and also avoid both repetition and fixed idioms at all cost. As for "muscle memory", it is only involved in di" at a very low level: pressing the right key on the keyboard. Deciding to do di" is _not_ "muscle memory".
- vgel 5y agoAgreed. Perhaps intuition is a better term for what I'm thinking of than muscle memory, but I think we're on a similar page :) Thanks for your suggestions!