No description
  • Lua 51.2%
  • Fennel 46.2%
  • Makefile 2%
  • Vim Script 0.6%
Find a file
2026-03-08 12:21:36 -06:00
fnl clean up the cursor follow logic 2026-03-08 12:21:36 -06:00
lua clean up the cursor follow logic 2026-03-08 12:21:36 -06:00
plugin decent 2026-02-20 12:39:17 -07:00
.editorconfig decent 2026-02-20 12:39:17 -07:00
.gitignore decent 2026-02-20 12:39:17 -07:00
flsproject.fnl decent 2026-02-20 12:39:17 -07:00
Makefile decent 2026-02-20 12:39:17 -07:00
README.md don't bubble up and out 2026-03-08 03:52:07 -06:00

nvim-md

Neovim with a Ph.D in Markdown medicine 💊

Neovim has basic Markdown support. This plugin adds some vim-tuitive quality of life features.

Features

  • Lists
    • o and O retain list context and indention
    • <cr> in insert mode retains list context and (indention)
    • <Tab> indents
    • <S-Tab> unindents
    • I inserts at the beginning of the list item
    • ( and ) move between lists items
    • <M-j> and <M-k> moves list items up and down
    • <M-b> or :ToggleList
    • <M-x> or :ToggleDone
    • <M-t> or :ToggleTODO
  • Prose
    • visual line wrapping
    • j and k move by display lines
    • <leader>-j and <leader>-k moves header sections around

Opinions

linebreaks

nvim-md prefers "long lines" (visual/soft wrapping). While traditional Markdown supports hard newlines... Plain Text, Gemini and Obsidian lean toward "long lines". Also "long lines" are backwards-compatible with the originally intended Markdown-to-HTML behavior around <br/> anyway.

Practically this means you'll want to keep the window you're writing prose in at the width you prefer. (Or perhaps the wrapwidth plugin might suit you). Manual hard breaks are still possible and it doesn't conflict with the intended Markdown behavior.

conceal

Vim is notoriously not that great at this behavior. At the time of writing the only remaining hope for Neovim is anticonceal. Until then it is the opinion of nvim-md that not using conceal is preferred.

Development

DIY Fennel Neovim plugin

See also