Use case or problem
Hi,
I want to link to pdfs in my vault, and for opening these files in my default app, I don’t want to have to
- right-click on that link
- choose “Open in default App” in the context menu
Proposed solution
As described in this thread, after clicking on that link, the file opens in the default viewer or in Obsidian, depending on the format of the link.
- In that format: [some name for the link](file:///c:/your/path/name%20of%20your%20file.pdf) it will open the pdf in an external viewer.
- in that format: [[./relative path/name of your file.pdf]] it will open within Obsidian
My proposed solution
When I want to insert a new link, I type “[[” and a Quick Switcher dialog opens. Here, it would be very nice, if I could choose the type of link-format in which I want to insert that link into my note, by pressing a modifier button for example.
Related feature requests (optional)
- Change default behaviour to be able to open links to pdf local files in default app by left clicking (instead of with an option displayed by right clicking)
- Open in default app on link only opens the markdown page
- Allow user to change default behaviour so that clicking on the link to a pdf attachment opens the system pdf app
- External links not opening in default applications
- "Open in default app" command should open file under cursor - #2 by SiliasOS