Editing · beta · Neovim 0.9+ · 158 commits
cascade.nvim
One plugin, one pattern: detect the context under the cursor → advance it one step → otherwise fall back to native behavior. That holds for Markdown lists just as much as for true/false toggles in code, which is why both live here instead of in two plugins that would each reimplement the same "what am I looking at" question.
demos/cascade.tape in a clean Neovim — re-recorded weekly
what is shown when
- :Cascade rotate - cycle the list form
- <C-y> and + cycle words and numbers
- o and Enter continue the list
- :Cascade sort
Install
{
"StefanBartl/cascade.nvim",
opts = {},
} Beta stage — active development. This repository is past its first shape and in active use, but the surface is not frozen: breaking changes are still possible. Pin a commit or tag if you depend on it.
Documentation
Recent commits
- fix lists: stepping a letter list past z is refused instead of producing "aa)"
- feat lists: <C-y>/<C-x> on an ordered marker shift the item and its later siblings; <C-S-y>/<C-S-x> the whole level
- feat keymaps: move list-form rotation to <leader>cl / <leader>cL
- docs fix DEAD links (duplicated ROADMAP/ prefix, moved Notes checklist)
- fix lists: drop the bare-marker fallback for roman numerals
- fix lists: recognize a bare ordered/unordered marker with no trailing space
- feat menu: integrations.ui_menu switch + enabled() for ui.nvim's right-click menu
- docs link back to the wkd family site
Combos
- Markdown toolkit
One document, several jobs: structure, list continuation, an external render, and decoration inside its code blocks.
markdown.nvim , mdview.nvim , emojis.nvim , color_my_ascii.nvim