I'm using arch linux and nvim. Everything is up to date.
I have a dir path
gf does not open the dir structure becasue
@ is present.
So instead in
.vimrc I tried this
:nnoremap gO :!xdg-open <cfile><CR>
it works with files without
@ in the path, opening them with the default associated application, but the same hurdle exists, it does not open files with
@ in the path.
It only captures the bit of the path after
@ if the cursor is placed after the
and only captures the bit of the path before the
@ if the cursor is placed before the
I also tried
let cfile=expand('<cfile>') | normal! gf cfile
but that also does not work and captures only path parts as described in the remap above.
I have also tried using this command (see
:tab help isfname) to include the
@ in the included character set as follows
and this one
to set things up before using the above commands, to make sure
@ is included as an available expression.