Skip to content

Simplify navigation in large markdown files.

License

Notifications You must be signed in to change notification settings

quafzi/markdown-drawer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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: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

About

Simplify navigation in large markdown files.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Vim Script 100.0%