/markdown-drawer

Simplify navigation in large markdown files.

Primary LanguageVim Script

markdown-drawer Beta

Simplify navigation in large markdown files.

Demo

Markdrawer 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 = "-"

* Set the maxium number of levels to display:
    ```vim
    let g:markdown_drawer_max_levels

License

MIT