Show HN:我做了一个小浏览器游戏来练习 Vim 命令
Show HN: I built a little browser game to practice Vim commands

原始链接: https://hjkl.duy.run

你练习的内容 修正错字 xh l 修改单词 w bciw 删除一行 j kdd 修剪短语 vh ld 移动句子 ddj kp 插入文本 i aI Ao O 替换字符 r 复制文本 yy ywp P 使用计数 3w2dd 3x3p 行内查找 f Ft T; , 搜索文档 / ?n N 编辑文本对象 ci" ci' ci( diw daw 重复编辑 . 匹配分隔符 % 文件跳转 12Ggg Gctrl-o ctrl-i 设置并返回标记 ma'a `a 工作方式 选择你想要的技能,然后在浏览器 Vim 编辑器中进行小规模真实编辑。每个技能包含两次引导编辑、两次提示编辑和两次独立编辑。任何能到达目标文本的有效编辑都算通过。在普通模式输入 :help 查看当前命令。 免费,无需账号,不存储任何内容。需要带物理键盘的桌面浏览器。 Vim 命令速查表 llms.txt 由 Duy Hua 制作 · duy.run

一篇 Hacker News 的 “Show HN” 帖子介绍了“hjkl”,一个用于练习 Vim 命令的小型浏览器游戏,由 dh1011 创建以帮助记忆命令。该帖有 7 分和 3 条评论。评论者称赞了游戏并建议 UX 改进,包括使网格单元格可完全点击,以及在前两节课后保留撤销提示以便更容易恢复。另一位用户只是感谢了创建者。页面还包括标准 Hacker News 导航和 Y Combinator 申请通知。
相关文章

原文

What you practice

  • Fix a typoxh l
  • Change a wordw bciw
  • Remove a linej kdd
  • Trim a phrasevh ld
  • Move a sentenceddj kp
  • Insert texti aI Ao O
  • Replace a characterr
  • Copy textyy ywp P
  • Use counts3w2dd 3x3p
  • Find within a linef Ft T; ,
  • Search documents/ ?n N
  • Edit text objectsci" ci' ci(diw daw
  • Repeat edits.
  • Match delimiters%
  • Jump through files12Ggg Gctrl-o ctrl-i
  • Set and return to marksma'a `a

How it works

Pick the skills you want, then make small real edits in a browser Vim editor. Each skill runs two guided edits, two prompted edits, and two independent edits. Any valid edit that reaches the target text passes. Type :help in Normal mode for the current commands.

Free, no account, nothing stored. Requires a desktop browser with a physical keyboard.

联系我们 contact @ memedata.com