Wednesday, September 5, 2018

Re: Keep cursor position when scrolling

On 2018-09-05 09:57, Ven Tadipatri wrote:
> Is it possible to keep the cursor at the end of the line when
> scrolling? For example, if I do:
> $
> ctrl+f or ctrl+b
> The cursor jumps back to the beginning of the line. Basically I'd
> like to be able to page through the file, looking at what's at the
> end of the line, instead of hitting '$' every time I page. Is that
> possible?

You want the 'startofline' option

:set nostartofline

which controls this.

-tim


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