Files
ming-wm/docs/window-likes/malvim.md
stjet d32b82a2bb v1.0.3: mostly malvim improvements
malvim: search, d$, %. fix w and m in mono font. apply some clippy lint suggestions
2025-04-17 00:53:31 +00:00

1.1 KiB

A text/code editor. Specifically, a subset of vim.

Funnily enough, that subset doesn't include the visual (ie, multi-line) capabilities of vim that the "vi" stands for. Perhaps it should be called "maled"?

Usage

It is probably best to read a Vim tutorial for the basics. All supportd keystrokes should mostly behave the same as in Vim.

Supported in Command-line Mode

  • e[dit] <file>
  • t[abe] <file>, [tab]n, [tab]p
  • q[uit]
  • w[rite]
  • /<query>

Tab completion is supported for the <file> argument.

Supported in Normal Mode

  • :
  • i
  • A
  • r
  • dd
  • dw
  • d$
  • G
  • gg
  • <number>gg
  • f<char>
  • F<char>
  • x
  • h (or left arrow), j (or down arrow), k (or up arrow), l (or right arrow)
  • <num>h, <num>j (or down arrow), <num>k (or up arrow), <num>l
  • 0, ^, $
  • %

Malvim Specific

In Command-line Mode, autoindent can be done to toggle auto-indenting (when making new line in Insert Mode [ie, by hitting Enter/Return], space indentation of the new line will be the same as the space indentation of the current line). Toggling on autoindent is highly recommended when editing code.