agentleFS
TriliumNextTriliumNext/Trilium/.claude/skills/developing-vim-mode/SKILL.md

developing-vim-mode

Skill39k starsChanged 25 days agoAGPL-3.0View on GitHub

Use when changing, debugging or reviewing Vim mode in text notes: anything under `packages/ckeditor5/src/plugins/vim/` (the `TriliumVim` plugin, `VimSession`, `VimAdapter`, `LineIndex`, the Trilium commands on the `@replit/codemirror-vim-core` engine), its client side (`text/vim_mode.ts`, `layout/VimStatus.tsx`, `vim_key_reference.tsx`, the `textNoteVim*` and `vimModeHint*` options, the `#vimMode` label), or a key, motion, operator, text object, Ex command, `:ck` argument, mapping, register, macro, key hint or completion row to add or fix. Use it for reports such as "dd deleted the table", "the cursor jumped", "undo takes seconds", "the selection stays after Esc" or "the mode is stuck". Load it too before adding or changing a block, widget, container or collapsible structure in the text editor, because Vim mode reads every structure as lines and a new one needs a line rule and specs, and before upgrading the Vim engine or CKEditor. Use it as well to test Vim mode in the running app: a live probe, a regression hunt, or a full simulation round before a release ("run the Vim simulation", "sweep Vim mode", "fuzz it", "test Vim on a large note"). Covers the line model, how a key travels, the rules the engine imposes and its quirks that must stay worked around, undo steps and the cost of large changes, behavior that is decided and looks like a bug, checklists for each kind of addition, the spec kit and its traps, and the method and full plan of a live simulation. Includes live.mjs, which types Vim keys into a running instance with every write held, simulate.mjs, which sweeps every command over every kind of line, runs random sessions, reduces a failing one and times whole-note commands, and fixture.html, a note with every structure; don't write new ones.

Trending

More talk lately.about the whole repository

Dec 2025: 4 mentionsJan 2026: 1 mentionFeb 2026: 4 mentionsMar 2026: 0 mentionsApr 2026: 1 mentionMay 2026: 1 mentionJun 2026: 2 mentionsJul 2026: 4 mentionsAug 2026: 7 mentionsSep 2026: 6 mentionsOct 2026: 11 mentionsNov 2026: 11 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the TriliumNext/Trilium repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about TriliumNext/Trilium

The biggest 5 of 78 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 78

Talked about on GitHub, YouTube, Bluesky, Hacker News and the web (78 times).

On GitHub · 50

45 more on GitHub

On YouTube · 15

10 more on YouTube

On Bluesky · 9

4 more on Bluesky

On the web · 2

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 3 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

Licensed with conditions — read it at the source. We count its rules but don't quote them. Read them on GitHub.

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.