TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Build Muscle Memory With Your Favorite Editor

49 点作者 watterssn大约 11 年前

12 条评论

JoshTriplett大约 11 年前
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 未加载
mpnordland大约 11 年前
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 未加载
hobs大约 11 年前
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)
Havoc大约 11 年前
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.
ThrustVectoring大约 11 年前
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_Cmpwn大约 11 年前
Vim users may find this more useful: <a href="http://vimgolf.com/" rel="nofollow">http:&#x2F;&#x2F;vimgolf.com&#x2F;</a>
noufalibrahim大约 11 年前
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_UK大约 11 年前
Won&#x27;t this be useless if you&#x27;ve changed any of the shortcuts?
serf大约 11 年前
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.
mifrai大约 11 年前
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.
EleventhSun大约 11 年前
This is awesome OP, have been waiting for something like this.
brentnations大约 11 年前
really helped me increase my coding speed by honing my resharper shortcut skills