Hi,
I noticed after installing Fedora-WSL-Base-Rawhide-20251001.n.0.x86_64.wsl that vim is not preinstalled. According to the wiki[1], it should be.
Is this expected?
$ vim .ssh/config -bash: vim: command not found
[1] https://docs.fedoraproject.org/en-US/cloud/wsl
The default editor in Fedora is nano [1] so I would expect that to be the only one by default, it's easy enough to install all the things you need using dnf.
[1] https://fedoraproject.org/wiki/Changes/UseNanoByDefault
Fair enough
Metadata Update from @osalbahr: - Issue status updated to: Closed (was: Open)
Well, @osalbahr is correct that the doc page says "The Fedora WSL image is similar to the cloud and container images, but some developer-focused packages such as manual pages, wget, and vim have been preinstalled."
So either we should put vim (back?) in it, or change what that says.
Metadata Update from @adamwill: - Issue status updated to: Open (was: Closed)
But... we didn't drop vim. It's still there as vim-minimal. We never changed the definition.
vim
vim-minimal
Maybe the doc should say vi or vim-minimal or something else clearer, then. If you say vim, it seems reasonable that people will type vim and be surprised when it doesn't work...
vi
I mean, I'm surprised it doesn't work too. I certainly don't expect vim-minimal to not provide /usr/bin/vim.
/usr/bin/vim