Wednesday, August 12, 2020

Re: scroll by screen line ?

Hi,

Thanks.  display+=lastline does help.
I've been using a mapping for <Up>/<Down> to gk/gj for a while and this works well.
I also map <C-f>/<C-b> to winheight(0)/2 gj/gk.  I'll look at <C-f>jjzt.

I set these things when editing a type of log files.

take care,
-m

On Saturday, August 8, 2020 at 1:15:52 PM UTC-4 gl0...@gmail.com wrote:
@Anton Shepelev, the Ctrl-F variant I gave you has a fault, if the lines it jj's over are more than 1/2 the screen length each, it in effect skips a page of text. Instead map Ctrl-F to Ljzt instead.

@gary clinton  many thanks for the 'set display+=lastline' tip, those lines of @s have bugged me for years.

On Sat, Aug 8, 2020 at 9:56 AM Gary Johnson <gary...@spocom.com> wrote:
On 2020-08-08, Anton Shepelev wrote:

> Antoher problem with wrapped text in Vim is that  it
> tries  to  display entire lines, leaving part of the
> screen lines empty, prefixed with `@'. It annoys me,
> too.

I'm not sure, but I think this setting will fix that problem.

    set display=lastline

Regards,
Gary

--
--
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+u...@googlegroups.com.


--
Graham Lawrence

--
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/8161fa36-beca-42e3-bfc2-933ecfc863e0n%40googlegroups.com.

No comments: