I use vim in the terminal as well as gvim. My issue is that in the terminal gx opens urls without a problem but in gVim nothing happens.Has anyone else experienced this issue and found a fix?I'm using gvim 7.4 with patches 1-52.
`gx` not opening url in gvim but works in terminal
gvim
I just tried this on a debian with XFCE desktop environment and I can reproduce the issue. Turns out, that gvim calls xdg-open URL to open the URL, but unfortunately, this did not return anything or display an error message.However, I could fix this, by using setsid xdg-open which you need to set for the g:netrw:let g:netrw_browsex_viewer=setsid xdg-openBug opened with XFCE