This isn't necessarily a problem, I'm more curious why this behavior occurs.
When attempting to launch vim from powershell, I'm greeted with the Open with
window:
PS C:\> vim
If I specify:
PS C:\> vim.exe
Vim launches as expected. gVim launches as expected no matter if I specify:
PS C:\> gvim.exe
or
PS C:\> gvim
Again, it's not really problem, I just want to know why it happens and what I should look into to get consistent behavior when launching both vim and gvim from powershell.
Best Answer
There's probably a file called
vim.
that appears in the Path beforevim.exe
(or it's in the local folder you're trying to launchvim
from) so it's getting called first when you typevim
.