On Thu, Nov 18, 2021 at 01:21:53PM +0100, Alejandro Colomar wrote:
> If you have a small file that fits in a single screen
> (in my case, it was 38 lines, which is smaller than half a FullHD screen),
> and
> you delete the last lines of the file in the following way:
> 
>       If you're going to remove from line 30 to the end,
>       - goto line 30          30G
>       - set visual mode       V
>       - advance a screen      ^f
>       - delete                d
>       - go back a screen      ^b

I tried reproducing this by creating a 38 line file via “seq 38 > foo.txt”
and then following your steps by running “vim --clean foo.txt”.  I saw
no errors.

What are the dimensions of your terminal when you do this?
“:set columns? lines?” from Vim will show this.

Can you reproduce it with the file I mentioned, or is it more specific
to the contents you had?

Cheers,
-- 
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7  2D23 DFE6 91AE 331B A3DB

Reply via email to