Monday, August 31, 2020

Re: Vim leaves 5 lines on top/bottom when the commands L, H, M, zb, zt

Thank you!

пн, 31 авг. 2020 г., 19:45 Tony Mechelynck <antoine.mechelynck@gmail.com>:
On Mon, Aug 31, 2020 at 6:39 PM Alexey Demin <alexey.demin.mi@gmail.com> wrote:
>
> Hi,
>
> I'd like to know is it the correct behavior of VIM when in diffmode it doesn't handle L, H, M, zb, zt, ... commands according to the documentation. It leaves 5 lines top/bottom respectively.
>
> One might reproduce it with comparing two files via "vim -d first second", scroll 2 pages down and use zb, zt commands in Normal-mode.
>
> So, Is it expected behavior? Does the documentation has any notes about it?

Yes, it is expected and configurable. See :help 'scrolloff'

Best regards,
Tony.

--
--
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 a topic in the Google Groups "vim_use" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vim_use/aIfXpiH0psI/unsubscribe.
To unsubscribe from this group and all its topics, 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/CAJkCKXsNyQj4poSO0yKTby-DYMM2hyNUSEh8RSpa7-aztd8tQA%40mail.gmail.com.

--
--
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/CANyuxHLnqfMb7DvOH8YFs%2BaM5aRR3J5oOTK%3DXnkQG%3DF_mv%2BdHg%40mail.gmail.com.

No comments:

Post a Comment