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:markdrawerWidth = "25" 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