16
GitHub - Scuilion/markdown-drawer: Simplify navigation in large markdown files.
source link: https://github.com/Scuilion/markdown-drawer
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
markdown-drawer Beta
Simplify navigation in large markdown files.
Demo
Basic Usage
- Open drawer
<leader>md
o
navigate to header in file.D
mark section for cut (no effect till paste).p
paste previously marked section below current.+
increase header size (removes#
).-
decrease header size (adds#
).
Basic Options
- Change the default mappings
let g:markdrawerPrefix = " " let g:markdrawerGoto = "o" let g:markdrawerDelete = "D" let g:markdrawerPasteBelow = "p" let g:markdrawerIncrease = "+" let g:markdrawerDecrease = "-"
Map key to open drawer:
nnoremap <Leader>md :MarkDrawer<cr>
- Set the maximum number of levels to display:
let g:markdown_drawer_max_levels = 4
Commands
:MarkDrawer
activate plugin:MarkDrawerLevelSet 3
set the max level to display
License
MIT
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK