Friday, December 9, 2011

Careful when using ctrl+w

I was trying to create a new window in vi, so I held ctrl+w then hit
the underscore. But I was surprised when instead of giving me a new
window, the font changed.
Here's something to bear in mind:
1)Hold ctrl+w, release w, then hit the -/_ key -- the font size
changes. You can undo this by doing ctrl+w, then shift and the +/=
key. I think this is some terminal hotkey, not something in vi (I'm
using CentOS).
2)Hold ctrl+w, release both keys, then hold shift, and press the -/_
key...ok, wait that was not a new window, rather it maximizes the
current window/buffer (could someone refresh me on the
register/buffer/window distinction?)

So anyway, just be careful when you're using ctrl, w, the -/_ and +/= key.

Thanks,
Ven

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: