Friday, February 7, 2014

Re: Cursor beyond last line

On 2014-02-07, mvxxc wrote:
> Hello Vim users,
>
> can someone confirm the following strange procedure to place the cursor beyond
> the last line? Seems like a problem with relative offets used by the
> 'scrollbind' option (":h scrollbind-relative").

[...]

> The cursor is now located one line below the last line in the right window.
>
> Corresponding commands:
> (1)-(3)
> :exe "norm 50o2\e450o-\eggdd"
> :difft
> :vne
> :exe "norm 100o-\e100o1\eggddyG2PG"
> :difft
> (4) (must be separate)
> :winc l

I can reproduce this using Vim 7.4.135, started as "vim -N -u NONE
-i NONE", on Fedora 17.

Also, if I ":set ruler", the ruler says the cursor is on line 500
when it appears to be below the last line of the buffer and 499 when
it appears to be on the last line.

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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment