TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Build Muscle Memory With Your Favorite Editor

49 pointsby watterssnabout 11 years ago

12 comments

JoshTriplettabout 11 years ago
While I&#x27;d definitely advocate getting extremely comfortable with your preferred text editor, this does not seem like a good approach at all. These drills ask you to do a specific command by description (&quot;Move one character right&quot;), which creates an association between that description and the editor action. However, when you&#x27;re working quickly in an editor, you&#x27;re thinking at a much higher level than &quot;move one character right&quot;; you&#x27;re thinking about how to perform some higher-level action involving code navigation or editing.<p>It would make more sense to present an editor and ask the user to make a specific high-level change (such as refactoring a function), let the user do so, and then analyze their input to figure out whether they could have done so more efficiently. For instance, in vim, did they navigate by hitting hjkl or use a more efficient &#x2F;search, and did they hit delete&#x2F;x repeatedly or use something like c2w?
评论 #7769591 未加载
mpnordlandabout 11 years ago
Interesting, but for me useless. I use vim each and every day, and I think I have a good claim to some muscle memory. But this excercise asks you to press keys with no context. I can navigate with hjkl just fine, but actually struggled to remember which key to press. But in vim I&#x27;m fine. Separating the shortcuts from the editor is not a good thing.
评论 #7767606 未加载
评论 #7768693 未加载
hobsabout 11 years ago
The drill told me I was wrong to press ctrl y for redo instead of ctrl shift z. I loaded up visual studio just to make sure I was right. (I was)
Havocabout 11 years ago
Tried the Excel ones - seems to work well enough. Except the shortcuts are not the ones I use daily...and Excel has a lot of shortcuts so matching the drills with users might be a hint tricky.
ThrustVectoringabout 11 years ago
I think what&#x27;s more important is the meta-level skill of noticing when what you&#x27;re doing should have a shortcut, and then finding or making a shortcut for it.<p>For textmate, I&#x27;d recommend learning just control-command T and the program-level shortcuts (closing many windows, opening the &quot;go to file&quot; dialog box, making a new file, etc).
Sir_Cmpwnabout 11 years ago
Vim users may find this more useful: <a href="http://vimgolf.com/" rel="nofollow">http:&#x2F;&#x2F;vimgolf.com&#x2F;</a>
noufalibrahimabout 11 years ago
Emacs, unsurprisingly, has a native key quiz program which is similar though more random. The package is called `keywiz`. I play it when waiting for stuff to compile and have picked up a trick or two.
LukeB_UKabout 11 years ago
Won&#x27;t this be useless if you&#x27;ve changed any of the shortcuts?
serfabout 11 years ago
neat, but for things like the editors it&#x27;d help to see the action happen along with a description.<p>example ctrl-f in emacs. along with the description &quot;move forward a word&quot; i&#x27;d also like to see (perhaps on the side of the screen) an editor move a word ahead. That way there are two reinforcements; the verbal description and the observed action<p>also many of the shortcuts trigger browser shortcuts. I don&#x27;t know a workaround, but it&#x27;s mighty irritating.
mifraiabout 11 years ago
Things seems a little buggy. It just told me that alt+b was wrong for backward word in emacs, but that&#x27;s what it just told me was how to do it in the learning portion of it.
EleventhSunabout 11 years ago
This is awesome OP, have been waiting for something like this.
brentnationsabout 11 years ago
really helped me increase my coding speed by honing my resharper shortcut skills