Wednesday, December 11, 2019

Re: "Press ENTER" prompt when edit file with long path

On 2019-12-10, J. Lewis Muir wrote:
> Hello!
>
> In an 80-column terminal, when I invoke vim on an existing empty file
> with a name that is 56 'x' characters, it displays the following prompt
> before I can edit the file:
>
> ----
> "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" 0 lines, 0 characters
>
> Press ENTER or type command to continue
> ----
>
> How can I stop it from doing that?
>
> NOTE: The file has to exist for it to do this. If it's a new file that
> Vim will create, Vim does not show the prompt.

This looks like a new bug. The presence of the 't' flag in the
'shortmess' option should prevent this, and that flag is there by
default. I just verified that it used to work in 7.4.1689 and
8.0.1453 but is now broken in my 8.1.2352 (on Linux) as well as your
8.1.2400.

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.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20191211091006.GA20506%40phoenix.

No comments: