vim documentation

James Vega jamessan at debian.org
Sun Oct 10 14:09:55 UTC 2010


On Sun, Oct 10, 2010 at 02:27:36PM +0200, Ulrich Rieke wrote:
>       vim is and remains an outstandingly powerful tool for
>       editing files and programming. Just one little remark:
>       the documentation says that to create split windows
>       you can use Ctrl-W s , and to jump to another window
>       use Ctrl-W w. Under Linux and Gnome , this caused vim
>       to crash.

By crash do you mean that it stopped reacting to what you typed or that
the process was no longer running?

If it's the former, then you likely used Ctrl-w Ctrl-s instead of Ctrl-w
s.  The former is a valid way to split the window, but it's also a key
sequence that terminals recognize for flow control[0].  So the terminal
captures the key press instead of passing it on to the underlying
application. Ctrl-q would restore the normal behavior of the terminal.

>       It worked with Ctrl-w s and Ctrl-w w.
>       Perhaps this should be included in the documentation,
>       at least as one possible way in splitting and
>       switching windows.

In a terminal, Ctrl-w and Ctrl-W are the same thing.

[0]: https://secure.wikimedia.org/wikipedia/en/wiki/XON/XOFF#Representation
-- 
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <jamessan at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20101010/3f0464ce/attachment.pgp>


More information about the pkg-vim-maintainers mailing list