Extra functionality for markdown files.
Disable all default mappings with:
let g:markdown_extras_enable_mappings = 0Takes the URL of the markdown link under the cursor and :edits it, as if it
were a path.
Default normal-mode mappings:
<c-]>(jump to definition)gf(go file)
Takes the URL of the markdown link under the cursor and :vsplits it, as if it
were a path.
Default normal-mode mappings:
gF(go file, with GUSTO)
Hard-wraps the paragraph under the cursor.
Default normal-mode mappings:
<cr>
Opens FZF to choose a markdown file to link to, and inserts a link using the first line (usually the title) of the chosen file.
To define your own mapping, use <expr> like this:
inoremap <expr> <c-x><c-l> markdown_extras#link#complete()Default insert-mode mappings:
<c-x><c-l>complete link