run vimtutor
in Windows Command Prompt, or in Windows Terminal
the following error dialog appears:
then it opens the vim
with the tutor instead
correctly open gvim.exe
with the tutor, as running vimtutor
from the start menu
8.2.5056
OS: Windows 10.0.19044.1741
terminal: Windows Terminal 1.12.10982.0
shell: Command Prompt
another thing may be relevant:
I installed the vim
using Chocolatey v1.1.0
, and during installation I can see it downloaded the gvim_8.2.5056_x64.zip
No response
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
is that a duplicate of #10460 ?
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
the issue #10460 do looks similar to me,
while the problem persists even after I uninstalled the vim
and redo the fresh install via Chocolatey
, so I assume the problem may either in Chocolatey installation or in the vim installation package, specially: gvim_8.2.5056_x64.zip
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
Cannot reproduce. I downloaded gvim_8.2.5056_x64.zip
from https://github.com/vim/vim-win32-installer/releases/tag/v8.2.5056 and extracted it into a new directory. I then run cmd.exe
and did clean $PATH so that current gvim installation does not interfer and then did run vimtutor.bat. Since it is in the same directory as (g)vim.exe the tutor started successfully.
So how did you install it, since it is only a zip file? Do you have another vimtutor somewhere in your path? Check where vimtutor
Check your PATH settings.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
I installed the vim via Chocolatey:
choco install vim
Once installed, I can run program like vim
, gvim
or vimtutor
from anywhere (not just inside the install folder),
as several batch files are automatically created inside the system folder:
I can see the problem now: since vimtutor.bat
only works inside the install folder, it wouldn't work when I actually run C:\Windows\vimtutor.bat
The default install folder is C:\tools\vim
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
Choco just copies vimtutor.bat from the install folder to C:\Windows
, but vimtutor.bat works only when it is in the same folder as gvim.exe.
I think it is a choco issue.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
Please report then at https://github.com/chocolatey-community/chocolatey-packages/issues
Closing this then.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
Closed #10535 as completed.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.