You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm looking to use a todo app outside of Obsidian to manage tasks. You can link to these using deeplinks (e.g things:///show?id=<task_id>). However Obsidian.nvim fails to recognize this as a link and throws an error when attempting to follow it.
I've toyed around locally and it seems simple to alter the regex to match links on to allow for them to fit this style and follow them as normal links. A quick version could just treat deeplinks like web links (NakedUrl) but it might be nice to catch these as separate link types and show an icon to show that it will open an app and not a website.
Also not sure this functionality is great outside of MacOS. Might be good to hide it behind a feature flag to allow it to be enabled as desired.
Alternatives
The builtin open link functionality from Neovim seems to handle these without issue (hotkey is gx or <C-o>). I'd like to be able to use the same hotkey for any link following though as it's hard to remember when to use the Obsidian.nvim one vs the system one.
Additional context
The regex I used to match these (which may be a bit too loose) was: "%w+:///?[a-zA-Z0-9._-]+[a-zA-Z0-9._#/=&?:+%%-]+"
The text was updated successfully, but these errors were encountered:
🚀 The feature, motivation and pitch
I'm looking to use a todo app outside of Obsidian to manage tasks. You can link to these using deeplinks (e.g
things:///show?id=<task_id>
). However Obsidian.nvim fails to recognize this as a link and throws an error when attempting to follow it.I've toyed around locally and it seems simple to alter the regex to match links on to allow for them to fit this style and follow them as normal links. A quick version could just treat deeplinks like web links (
NakedUrl
) but it might be nice to catch these as separate link types and show an icon to show that it will open an app and not a website.Also not sure this functionality is great outside of MacOS. Might be good to hide it behind a feature flag to allow it to be enabled as desired.
Alternatives
The builtin open link functionality from Neovim seems to handle these without issue (hotkey is
gx
or<C-o>
). I'd like to be able to use the same hotkey for any link following though as it's hard to remember when to use the Obsidian.nvim one vs the system one.Additional context
The regex I used to match these (which may be a bit too loose) was:
"%w+:///?[a-zA-Z0-9._-]+[a-zA-Z0-9._#/=&?:+%%-]+"
The text was updated successfully, but these errors were encountered: