[vim/vim] refactor(vim9): use 'start' open urls on win32 (PR #18985)

1 view
Skip to first unread message

Mao-Yining

unread,
Dec 20, 2025, 9:55:27 PM (5 hours ago) Dec 20
to vim/vim, Subscribed
  • Use :!start directly, discard the using of explorer.exe.
  • Update the document in eval.txt.

Currently, on Windows, explorer.exe is used to open files, URLs, etc. However, this approach has several issues:

  1. No error reporting: If an invalid input is provided, it simply opens an Explorer window at the homepage without indicating an error.
  2. Bad process management: For unknown reasons, an explorer.exe process sometimes remains running in the background after opening a file.
  3. Poor performance: On my machine, opening a file takes over one second, which is unusually slow.

Since I do not currently have WSL available, I do not change the behavior in WSL. Nevertheless, I believe explorer.exe can be removed entirely.


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/18985

Commit Summary

  • d5e7de1 refactor(vim9): use 'start' open urls on win32

File Changes

(2 files)

Patch Links:


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18985@github.com>

Reply all
Reply to author
Forward
0 new messages