Open ilan-schemoul opened 3 months ago
is <cr>
mapped correctly?
because it works for me so it's obviously not neorg being completely broken
try :nmap <cr>
it should output something like this
n <CR> *@<Plug>(neorg.esupports.hop.hop-link)
[neorg] Jump to Link
Yes I just checked it's set to hop-link and it works flawlessly for relative link such as {:./www.png:}
@ilan-schemoul This works for me. I suspect it's your operating system causing issues.
Could you provide information about the system you're on?
Does pressing <CR>
to open a local file work correctly for you? I have a similar issue here Can't open file link #1544, and if you found them identical can you please mention it in your issue message?
Does pressing
to open a local file work correctly for you? I have a similar issue here https://github.com/nvim-neorg/neorg/issues/1544#issue-2436663238, and if you found them identical can you please mention it in your issue message?
Local file works. Example "See also {:/home/ilan/nvim-config/todo.norg:}" I press
@ilan-schemoul This works for me. I suspect it's your operating system causing issues. Could you provide information about the system you're on?
@benlubas
⟩ uname -a
Linux ILTY-401 6.5.0-1025-oem #26-Ubuntu SMP PREEMPT_DYNAMIC Tue Jun 18 1
2:35:22 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Check the xdg-open mime types for links. And make sure that xdg-opening that link from terminal works.
Also want to confirm that this isn't wsl right? It's just a bare metal Linux machine?
Local file works. Example "See also {:/home/ilan/nvim-config/todo.norg:}" I press file opens
That does not seem to work for me (using either relative or absolute path), can you share your exact neorg version along with the neovim version. @ilan-schemoul
Check the xdg-open mime types for links
After running xdg-mime query filetype <path>
I get this output text/plain
And make sure that xdg-opening that link from terminal works.
And after running xdg-open <path>
I get this output (objectpath '/org/freedesktop/portal/desktop/request/1_22/t',)
@benlubas
I was talking about the http link. Not your issue. These seem like two separate issues.
Check the xdg-open mime types for links. And make sure that xdg-opening that link from terminal works.
Yes it works. xdg-open "https://github.com/nvim-neorg/neorg" opens the page on firefox (from an embedded nvim terminal)
{https://github.com/nvim-neorg/neorg}
Yes it works. xdg-open "https://github.com/nvim-neorg/neorg" opens the page on firefox (from an embedded nvim terminal) {https://github.com/nvim-neorg/neorg} does not open anything
I have the exact same behavior with neorg 9.1.1 ba35900
Tested again on 0.10.2 and neorg 9.1.1 81ee90c. Still not working type enter {https://github.com/nvim-neorg/neorg}, local links still work. Ubuntu 22 ~ ⟩ uname -a Linux ILTY-401 6.8.0-48-generic #48~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 7 11:24:13 UTC 2 x86_64 x86_64 x86_64 GNU/Linux Bare metal linux @benlubas @max397574 @vhyrro
If we can't reproduce you have to debug yourself.
And we can't reproduce.
Prerequisites
Neovim Version
NVIM v0.10.0 Build type: Release LuaJIT 2.1.1713484068
Neorg setup
Actual behavior
Enter on
{https://github.com/nvim-neorg/neorg}
(found in the example) => no link openedExpected behavior
Open link
Steps to reproduce
Type enter on
{https://github.com/nvim-neorg/neorg}
(found in the example)Potentially conflicting plugins
No response
Other information
No response
Help
None
Implementation help
No response