-
Notifications
You must be signed in to change notification settings - Fork 6
2.Features
yousefhadder edited this page Dec 28, 2025
·
3 revisions
- Auto-create next list item: Press Enter to automatically continue lists
-
Normal mode list creation: Use
o/Oin normal mode to create new list items - Smart list indentation: Use Tab/Shift+Tab to indent/outdent list items
- Auto-renumber ordered lists: Automatically renumber when items are added/deleted
- Smart backspace: Remove list markers when backspacing on empty items
- List breaking: Press Enter twice on empty list items to break out of lists
-
Checkbox support: Works with all list types (e.g.,
- [ ],1. [ ],a. [x]) -
Checkbox toggling: Toggle checkboxes on/off with
<leader>mxin normal/visual mode or<C-t>in insert mode -
Multiple list types: Supports unordered (
-,*,+), ordered (1.,2.), letter-based (a.,A.), and parenthesized variants (1),a),A)) - Nested lists: Full support for nested lists with proper renumbering
- Checkbox completion timestamps: Automatically add completion dates when checking tasks (Obsidian-style), with multiple format options (emoji, comment, dataview, parenthetical)
-
Toggle bold:
<leader>mbto toggle**bold**formatting on selection or word -
Toggle italic:
<leader>mito toggle*italic*formatting on selection or word -
Toggle strikethrough:
<leader>msto toggle~~strikethrough~~formatting on selection or word -
Toggle inline code:
<leader>mcto toggle`code`formatting on selection or word -
Toggle highlight:
<leader>mhto toggle==highlight==formatting (Obsidian style) -
Toggle underline:
<leader>muto toggle++underline++formatting (Extended Markdown) -
Convert to code block:
<leader>mwto convert the selected text into a code block -
Clear all formatting:
<leader>mCto remove all markdown formatting from selection or word -
Smart word detection: Works with words containing hyphens (
test-word), dots (file.name), and underscores (snake_case) - Visual and normal mode: All formatting commands work in both visual selection and normal mode (on current word)
-
Dot-repeat support: Normal mode formatting actions are dot-repeatable - press
.to apply the same format to another word- Example:
<leader>mbon "word1" to make it bold, then move to "word2" and press.to make it bold too - Note: Visual mode formatting does not support dot-repeat
- Example:
-
Header navigation: Jump between headers with
]](next) and[[(previous) -
Promote/demote headers: Increase/decrease header importance with
<leader>h+and<leader>h- -
Set header level: Quickly set header level 1-6 with
<leader>h1through<leader>h6 -
Generate TOC: Auto-generate table of contents with
<leader>ht(uses HTML markers to prevent duplicates) -
Update TOC: Refresh existing TOC with
<leader>huafter modifying headers -
Follow TOC links: Press
gdon a TOC link to jump to that header - Smart TOC placement: TOC appears right before first section (after introduction text)
- Code block aware: Headers inside code blocks are correctly ignored
-
GitHub-compatible slugs: Anchor links work correctly on GitHub (handles
Q&A,C++, etc.)
-
Insert link:
<leader>mlto insert a new markdown link with text and URL -
Convert selection to link: Select text and
<leader>mlto convert it to a link -
Edit link:
<leader>meon a link to edit its text and URL -
Open links: Use
gx(native Neovim) to open links in your browser -
Auto-convert URL:
<leader>maon a URL to convert it to a markdown link -
Reference-style links: Convert between inline
[text](url)and reference[text][ref]styles -
Convert to reference:
<leader>mRto convert inline link to reference-style -
Convert to inline:
<leader>mIto convert reference link to inline - Smart URL detection: Works with bare URLs and properly formatted links
-
Insert image link:
<leader>mLto insert a new markdown image with alt text and URL -
Convert selection to image: Select text and
<leader>mLto convert it to an image link -
Edit image link:
<leader>mEon an image to edit its alt text, URL, and optional title -
Toggle link/image:
<leader>mAto convert between regular links[text](url)and image links -
Title attribute support: Optional title attribute for images:
 - Smart detection: Accurately detects images with or without title attributes
- Visual and normal mode: All commands work in both visual selection and normal mode
-
Toggle blockquote: Use
<leader>mqto toggle>blockquote formatting on the current line or visual selection - Empty line creation: On empty lines, creates blockquote and enters insert mode for quick typing
- Visual and normal mode: Works in both visual selection and normal mode
-
Insert callouts:
<leader>mQito insert a callout block with type selection (NOTE, TIP, IMPORTANT, WARNING, CAUTION) -
Wrap selection: Select text in visual mode and
<leader>mQito wrap it in a callout -
Toggle type:
<leader>mQtto cycle through callout types (NOTE → TIP → IMPORTANT → WARNING → CAUTION) -
Convert blockquote:
<leader>mQcto convert a regular blockquote to a callout -
Convert to blockquote:
<leader>mQbto remove callout markers and convert back to regular blockquote - Custom types: Configure custom callout types beyond the standard GFM types
- Preserves indentation: Works correctly with nested/indented content
-
GitHub compatible: Uses official GitHub Flavored Markdown callout syntax
> [!TYPE]
Basic Operations:
-
Create tables:
<leader>tcto interactively create a new table with custom dimensions -
Format tables:
<leader>tfto auto-format and align columns -
Normalize tables:
<leader>tnto fix malformed tables - Smart cursor positioning: Cursor automatically positioned after all operations
Row & Column Operations:
-
Insert rows:
<leader>tir(below) /<leader>tiR(above) -
Delete row:
<leader>tdr(protects header/separator) -
Duplicate row:
<leader>tyr -
Move rows:
<leader>tmk(up) /<leader>tmj(down) -
Insert columns:
<leader>tic(right) /<leader>tiC(left) -
Delete column:
<leader>tdc(protects last column) -
Duplicate column:
<leader>tyc -
Move columns:
<leader>tmh(left) /<leader>tml(right)
Cell Operations:
-
Toggle alignment:
<leader>tacycles through left → center → right → left -
Clear cell:
<leader>txclears content while preserving structure -
Insert mode navigation:
<A-h>,<A-l>,<A-j>,<A-k>(circular wrapping)
Advanced Operations:
-
Transpose table:
<leader>ttswaps rows and columns (with confirmation) -
Sort by column:
<leader>tsa(ascending) /<leader>tsd(descending), numeric & alphabetic -
CSV conversion:
<leader>tvx(to CSV) /<leader>tvi(from CSV) -
Alignment support: Left (
:---), center (:---:), right (---:)
Comprehensive footnote support for managing markdown footnotes:
-
Insert footnotes:
<leader>mfito create new footnote references and definitions with auto-generated IDs -
Edit footnotes:
<leader>mfeto modify existing footnote definitions -
Delete footnotes:
<leader>mfdto remove references and definitions with optional confirmation -
Navigate: Jump between references and definitions bidirectionally
-
<leader>mfgto go to footnote definition -
<leader>mfrto go to footnote reference(s)
-
-
Sequential navigation:
<leader>mfn(next) and<leader>mfp(previous) to jump between footnotes -
List footnotes:
<leader>mflto browse all footnotes with status indicators - Code block awareness: Ignores footnote syntax inside fenced code blocks and inline code
- Configurable section header: Customize the footnotes section header text
- Orphan detection: Visual indicators for footnotes without definitions or references
# Example Document
Some text with a footnote[^1] and another[^example].
## Footnotes
[^1]: This is the first footnote.
[^example]: Named footnotes work too!
Multi-line content is supported with indentation.