Editor
Vim mode
Vim mode adds Vim keybindings to the Raw Markdown editor. It does not run in Rich or Preview.
Turn it on
- Open Settings → General → Vim Mode.
- Enable Vim Mode.
- Open a note and switch to Raw (Raw Markdown).
Glyph shows a short status for the active Vim mode (Normal, Insert, Visual) while you edit.
What works
Glyph uses the CodeMirror Vim command set. Expect familiar motions, operators, search, and substitute.
Motions
hjkl: move by characterwbe: move by word (WBEfor whitespace words)0^$: line start, first non-blank, line endggG: first or last linefFtT: find or till a character on the line;;and,repeat- Counts work:
5j,3w,10G
Insert and visual
iaIA: insert before/after cursor or at line edgesoO: open a line below or aboveEsc: return to Normal modevVCtrl-v: character, line, or block Visual mode
Operators
Combine operators with motions or text objects:
dcy: delete, change, yankddccyy: whole linedwdiwci"da[: word and paired-delimiter objectsxXsr: character editsDCSJ: line-oriented editspP: put after or beforeuCtrl-r.: undo, redo, repeat
Search and substitute
/queryand?query: search forward or backward; Enter to runnN: next or previous match*#: search the word under the cursor:s/old/new/and:%s/old/new/g: substitute on the line or in the whole document:noh: clear search highlighting
What does not work
- Rich editor: Vim bindings stay off in Rich and Preview.
- vimrc / custom mappings: Glyph does not load
.vimrc, Vimscript, or user key maps. :wand file commands: write and file-management Ex commands do not save or manage notes for you.
Glyph still autosaves while you edit. You do not need :w to keep work.
Daily use
Stay in Raw mode when you want Vim. Switch to Rich when you want the ribbon, slash menu, and visual embeds. Vim Mode can stay enabled in Settings; it applies when the note is in Raw Markdown.
If keys feel wrong, confirm the note is in Raw mode and that Settings → General → Vim Mode is on. Press Escape to leave Insert or Visual mode before trying Normal-mode motions.