vim-markdown icon indicating copy to clipboard operation
vim-markdown copied to clipboard

Allow getting markdown header

Open samyk opened this issue 3 years ago • 0 comments

This MarkdownGetHeader() function is useful for adding the section of markdown you're currently in by seeing it in the status bar, eg with airline:

let g:airline_section_gutter = '%= %#hdrinfo#%{exists(''*MarkdownGetHeader'')?MarkdownGetHeader()[0:20]:""}'

samyk avatar Dec 06 '20 21:12 samyk