原文
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:
| Shortcut | Movement Description |
| h / l | Move one character left / right on the same line |
| k / j | Move one character up / down; jumps to end of target line if shorter than current horizontal position |
| w / b | Jump to the beginning of the next / previous word, across lines |
| e | Jump 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.