Friday, August 31, 2012

Re: problems at the first few steps in the vimTutor

hansn, Fri 2012-08-31 @ 03:53:10-0700:
> I am on windows so i located the tutor file and excetuted it from
> there. But in step 1.2 it sais to type ' :q! ' to quit the tutor, and
> then enter 'vimtutor' from the shell.
>
> First off, when i type :q! , no shell appears, the tutor simply quits.
> Secondly the vimtutor command (according to the :help vimtutor
> information i read) this command does not work on windows.
>
> Sincerely, a guy who first saw vim a couple hours ago.

There is no actual question in your message, so I will assume you are
simply confused about why this is happening and are asking for an
explanation.

Simply put, the vimtutor is written from the perspective of a Unix user,
where things do in fact work as the tutor file describes. Typically,
such a user will have launched vimtutor by typing `vimtutor` in the
shell, and upon exiting, will be returned to a shell prompt. Obviously
this is not the case on Windows, where shell usage is generally less
common. Although Vim is officially supported on Windows, it and its
predecessors have a long Unix parentage, and therefore it is not too
surprising that some of its behavior is less than intuitive on a
platform of a fundamentally different nature.

If you simply do not know what to do next, all you need to do is restart
the vimtutor the same way you launched it the first time, scroll down to
where you were when you quit, and continue.

If you are reporting this as a bug, then probably the best solution
would be to provide an alternative vimtutor file that makes more sense
on Windows, which can be used in place of the more Unix-oriented
existing tutor file when Vim is compiled for Windows.

No comments:

Post a Comment