Saturday, September 24, 2016

Re: Cursor doesn't move to top of screen when issuing a 'zt'

Scott Friedemann wrote:

> After installing v8.0 on two different Windows computers, when I issue
> a 'zt' to move the cursor location to the top of the screen, there are
> always 5 lines above the cursor position. I imagine this is a setting,
> but cannot find. This happens with a number of cursor movements at the
> top and bottom of the screen. As this is new behavior for me, I am
> starting to get used to it and even see the advantage, but I would
> like to be able to control it.
>
> Can someone tell me the setting that controls this?

Vim 8 will set scrolloff to 5 in defailts.vim if you don't have your own
vimrc.

--
Not too long ago, compress was something you did to garbage...

/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment