Description
Describe the bug
I'm trying to use links to other files in the same directory using the simple syntax:
[[file.org]].
When I hover over them in normal mode or insert mode, there is no underline, which is expected.
But I'm unable to open the file with any keybinding. the docs mention +o+o, and the emacs docs mention Ctrl-c Ctrl-o,
both seems to fail to work.
It's worth mentioning that I'm using windows, not on WSL.
oo simply gets ignored. ctrl-c ctrl-o moves the cursor.
It's probably not a bug, I probably configured something wrong, perhaps even conflicting keybindings,
but I can't really figure it out.
Steps to reproduce
On a windows machine (not on wsl):
- Go to an existing org file, say file1.org
- Make sure file2.org exists in the same directory.
- Create a link to file2.org like this:
[[file:./file2.org]]
- In normal mode, try to:
4.1 press it
4.2 ctrl+mouse click
4.3 ctrl+c ctrl+o
4.4 +oo (make sure <leader is correct)
Nothing really happens.
Expected behavior
The expected behaviour is for the file to open within nvim or with other applications.
Emacs functionality
No response
Minimal init.lua
use {'nvim-treesitter/nvim-treesitter' }
use {'nvim-orgmode/orgmode', config = function()
require('orgmode').setup{}
end
}
require('orgmode').setup_ts_grammar()
-- TREESITTER-CONFIG
require('nvim-treesitter.configs').setup {
highlight = {
enable = true,
additional_vim_regex_highlighting = {'org'},
},
ensure_installed = {'org'},
}
require('orgmode').setup({
org_agenda_files= {'C:/Users/saarz/org/*', 'C:/Users/saarz/my-orgs/**/*'},
org_default_notes_file = 'C:/Users/saarz/org/refile.org',
})
vim.opt.shellslash = true
Screenshots and recordings
No response
OS / Distro
Windows 11
Neovim version/commit
0.9.1
Additional context
No response