Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

supporting relative path for EditUrlUnderCursor #533

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

rzjfr
Copy link

@rzjfr rzjfr commented Dec 10, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant