Phil Dobbin wrote:
On 01/11/2013 07:34 PM, Charles Campbell wrote:

Hello!

When I press ctrl-f and ctrl-b I seem to get a full page (in my case, 28
lines) less 2, both forward (via ctrl-f) and backward (via ctrl-b).  I'd
like to have my mpage plugin (which shows a buffer with multiple
contiguous pages) scroll forwards and backwards by a full page.

I don't see documentation about this (:he ctrl-f says it scrolls a full
page), nor did I see any way to modify what vim thought a full page
was.  Now, I can do

noremap <c-f> <c-f>2<c-e>

(and similar for <c-b>) to get the effect I want -- but I'm wondering
about that "2".  Is this "a page has rows lines less 2" standard, or is
it an artifact of my o/s?  (I've tried it with both vim and gvim under
Scientific Linux, huge).
It has always been thus on all the distros I use quoted below. I,
personally, find it a bonus because it helps to orientate me on the page.

Oh, I agree -- I usually like the context, myself. However, mpage is treating buffers rather like a book with two (or more) pages visible at one time -- and so I'd like ctrl-f and ctrl-b to move a whole page forwards/backwards. I've built in the noremaps (one example shown) but I wanted some reassurance that it was a common effect. So, thank you for the quick feedback!

Chip Campbell

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

Reply via email to