-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Description
Describe the bug
The latest Vim has updated to a newer version of netrw, which seems to have broken the gx functionality. In the past, positioning the cursor on an URL and press gx would open the URL in a web browser (using the open command). The updated netrw would instead try to curl it, which seems wrong.
To Reproduce
Detailed steps to reproduce the behavior:
- Run
vim --clean(orgvim --clean, etc.) in macOS. - Enter insert mode and type "https://www.vim.org"
- Go to normal mode and type
gx. - Observe that Vim doesn't open the URL in a web browser.
Expected behavior
Vim should open the URL in a web browser.
Screenshots
If applicable, copy/paste the text or add screenshots to help explain your problem.
Environment (please complete the following information):
- Vim version [e.g. 8.1.1755]
- OS: macOS 10.14 (haven't tested others yet)
Additional context
Bug was introduced in 85850f3. Originally I got this bug filed against MacVim at macvim-dev/macvim#925 so cross-referencing here.
This is a netrw bug so I'm not sure if this is the correct place to post it, but with the ownership question I'm not 100% sure who owns netrw now and where I should file a bug for it to be fixed and updated to Vim's bundled plugin.