Skip to content
Discussion options

You must be logged in to vote
  1. Creating links: In a wiki page, I want to link to local files like abc.vim or xyz.py. When I press on the filename, wiki.vim creates a link like [abc.vim](abc.vim.md). However, I would prefer the link to be [abc.vim](abc.vim).

Pressing <cr> on text is something I only do for creating wiki links. I never considered that you might want to "toggle" a filename and create a link to other files!

I think it could be interesting to look into this. Perhaps I should add that. It seems "intuitive" that the behaviour of <cr> is something like this:

  1. If the text (either selected text or whatever is beneath the cursor) is a filename of an existing file, then the link should be a wiki link only if …

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@VimWei
Comment options

@lervag
Comment options

@VimWei
Comment options

Answer selected by VimWei
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants