Skip to main content

developing-vim-mode

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

Source facts

TriliumNext

Repository TriliumNext/Trilium

Last source activity
November 15, 2026 at 23:29
Detected SKILL.md language
English
Stars
39,075
Forks
2,642

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

File Explorer
9 files

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
namedeveloping-vim-mode
descriptionUse 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