Replies: 1 comment
-
Hello, this is fairly easy to do. You just tell the concealer to match a bit more of your link as the starting point: Old:
New:
This will match 1 more or more letters/numbers ([a-zA-Z0-9_]) and the pipe symbol in your WikiLink. If you are using a different ID/filename system you might need to change what you're matching. Or you might even need to be more restrictive. But this works for the default IDs. I would suggest learning Vim's regex since it's a bit different to normal regex: https://vimregex.com Hope that helps! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Verify
How can we help you?
Hi all. The vim conceal feature is quite cryptic to me, but is anyone aware of how the filename could be concealed in a wikilink-style link?
With
conceallevel=2
, I get wikilinks that look like this:This is very nice! However, I would like them to look like this instead (i.e., the actual filename is hidden):
I am using the same conceal options copied from the readme:
I feel like this used to work automatically with my old config, but somewhere along the line some settings got changed and now it doesn't. If anyone has any ideas how to change this (or if you know that this can't be changed without an actual pr) please let me know.
Best,
GW
Beta Was this translation helpful? Give feedback.
All reactions