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

supporting relative path for EditUrlUnderCursor

Open rzjfr opened this issue 4 years ago • 0 comments

Hi, I'm not sure this would be useful for anyone else but it helped me a lot. I keep a rather complex structure for some of markdown projects so if you want to refer to a file or an anchor in a file in a sibling or a child directory, this patch makes it possible.

Supports patterns like ../sibling_dir/file#anchor and ./child_dir/file#anchor relative to the current buffer.

it's particularly useful g:vim_markdown_no_extensions_in_markdown and g:vim_markdown_follow_anchor are set.

rzjfr avatar Dec 10 '20 16:12 rzjfr