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.

Vim Kata Number One

38 pointsby spoon16almost 15 years ago

3 comments

pookalmost 15 years ago
I'm working on an Editor Alike Tutorial project.<p>The idea is to bring about world peace by collaboratively creating a tutorial which can only be coped with using a sufficiently powerful editor. It should look impossible to do in notepad and nano, for example.<p>One criterion is that the tutorial text not play toward specific features of one or another editor, but toward the proper mindset of an editor as an <i>editor</i>.<p>Another is that it has to be fun.<p>Any vim users want to help? Or emacs users disturbed at the recent flurry of vim articles?
volatilealmost 15 years ago
There are a few instances of unnecessarily keystrokes in this exercise. Moves to the start of the line for a command that will act on the whole line (0shift-D, 0shift-V, 0dd). The 0's aren't required for those. Also a few times it switches to command mode when the editor is already in command mode based on the last step. 0shift-V2j selects 3 lines, not two.
评论 #1377427 未加载
JoeAltmaieralmost 15 years ago
Cool idea. But consider: if you move around platforms (I use 3 every day) then a uniform experience is actually more productive. Training my nervous system to a set of "katas" that work in precisely 1 environment is not very helpful; in fact just the opposite.
评论 #1377302 未加载