```VimGraph``` 维姆图 (Wéi mǔ tú) - *This is a direct transliteration, likely the most common way to refer to it.* Alternatively, depending on context, you could use: Vim 图表 (Wéi mǔ túbiǎo) - *Vim Charts/Graphs*
VimGraph

原始链接: https://resources.wolframcloud.com/FunctionRepository/resources/VimGraph/

Vim 是一款备受推崇的文本编辑器,以其模态编辑而闻名——在普通模式下,某些键被映射到移动到最近的模式,减少了击键距离,并实现了无需鼠标的快速编辑。以下支持简单的 Vim 移动:快捷键移动描述h / l同一行向左/右移动一个字符k / j向上/向下移动一个字符;如果目标行短于当前水平位置,则跳转到目标行末尾w / b跳转到下一个/上一个单词的开头,跨行e跳转到下一个单词的末尾,跨行^/$移动到当前行的开头/结尾ResourceFunction["VimGraph"] 允许选项“IncludedVimMovements”、“StringPattern”和“CustomPatterns”,可以分别限制为特定的 Vim 移动或定义新的移动。还支持图形选项。

Hacker News 新闻 | 过去 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 VimGraph (wolframcloud.com) 16 分,gdelfino01 发表于 18 分钟前 | 隐藏 | 过去 | 收藏 | 3 条评论 thornton 6 分钟前 [–] 这是我希望有人向我解释价值的时候之一。 比如,这能帮助编码代理更高效吗? 抱歉我的无知!回复 qsort 0 分钟前 | 父评论 | 下一个 [–] 我认为这主要是为了好玩。 编码代理不需要通过人类使用的相同界面进行交互,它们只需要一个读取和写入文件的工具,这样就足够了。回复 utopiah 3 分钟前 | 父评论 | 上一个 [–] 我想这可能是为了在 Vim Golf 中获胜,也就是如何提高效率。回复 考虑申请 YC 的 2026 年冬季批次! 申请截止日期为 11 月 10 日 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系方式 搜索:
相关文章

原文
Vim is a cult-favorite text editor known for its modal editing—In Normal mode, certain keys are mapped to movements forward or backward to the nearest pattern, reducing keystroke distance and enabling fast editing without using the mouse.

The following simple Vim movements are supported:

ShortcutMovement Description
h / lMove one character left / right on the same line
k / jMove one character up / down; jumps to end of target line if shorter than current horizontal position
w / bJump to the beginning of the next / previous word, across lines
eJump to the end of the next word, across lines
^/$Move to the beginning/end of the current line

ResourceFunction["VimGraph"] allows the options "IncludedVimMovements", "StringPattern" and "CustomPatterns", it is possible to restrict to specific Vim movements or define new movements, respectively.

Also supported are Graph options.
联系我们 contact @ memedata.com