SkillSkillsMP
io.github.TriliumNext/Trilium/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