Open mrvkino opened 8 years ago
There is support for that today, without the "file://" . Try with [[/home/daniel/.login]]
If the file linked is a pdf it will open the pdf in sublime instead of an external program. What I am talking about is a way of specifying a file to open in an external application.
Ah, yes i like it [[open:/path/here/to/something.jpg]]
@danielmagnussons: The file opening works with relative paths in Windows, but not absolute ones:
- [ ] Some todo [[.\tasks\331885.org]]
...works. But this:
- [ ] Some todo [[C:\Users\erich.gubler\Desktop\tasks\331885.org]]
...does not.
Should I open a separate issue for this?
EDIT: I'm using Windows GVim right now, hence my expectation that these paths should work.
@ErichDonGubler this format should work
- [ ] Some todo [[\C\Users\erich.gubler\Desktop\tasks\331885.org]]
@reignmaker: In which working environment? There's Cygwin, MSYS2, WSL{,2}, a the GVim distribution for Windows. :) I'll amend my previous comment to include what I was referring to -- native GVim, which supports native Windows paths in most places already.
Hi @ErichDonGubler! I'm using Sublime 3, Git for Windows (Cygwin, I guess?) on Win 7.
I have some file (ex: pdf) that I want to link in my file but sublime cannot open them. Adding a file plugin with [[file:]] could send a request to the os to open a file. For example on osx the call would become "open " and let the os figure it out.