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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Vim Kata Number One

38 点作者 spoon16将近 15 年前

3 条评论

pook将近 15 年前
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?
volatile将近 15 年前
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 未加载
JoeAltmaier将近 15 年前
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 未加载