Sunday, May 29, 2011

Preventing buffer centering when switching buffers.

When previously edited buffer is edited with ':ed #{num}' or
'[count]Ctrl-^', contents of this buffer are centered, as though
'z.' is executed after switching to this buffer.

For example: open a buffer, press 'z<CR>', switch to another buffer
and then go back to the first buffer. (note: the buffer should not
be at the beginning or at the end).

How can I prevent this centering when switching buffers? I want the
buffer to stay in the same state as before switching away from it.

--
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:

Post a Comment