Windows PowerShell opens the vim editor with GUI. How can I disable it?

Viewed 1320

I installed vim-console with chocolatey on Windows 11.

choco install vim-console

enter image description here

I didn't set environment variable C:\Program Files (x86)\Vim\vim82\gvim.exe anywhere. But oddly, PowerShell is finding this path!

Furthermore, If I install vim in this path(C:\Program Files (x86)\Vim\vim82\gvim.exe) with vim download website(https://www.vim.org/download.php), PowerShell opens gvim instead of vim-console!

In the Command Prompt, vim-console starts well. enter image description here

enter image description here

Why does PowerShell execute vim with the GUI anyway?

0 Answers
Related