Tony Mechelynck wrote:
> On Mon, Jul 25, 2016 at 10:10 PM, Christian Brabandt <cblists@256bit.org> wrote:
> > Hi Bram!
> >
> > On So, 24 Jul 2016, Bram Moolenaar wrote:
> >
> >> > please no hlsearch. That is most often annoying.
> >>
> >> Well, I find it useful. But I suppose that's more a personal
> >> preference.
> >
> > perhaps, if we made ctrl-l clear the search highlighting by default?
> >
> >> > some more I would set, the mentioned
> >> > :set display+=lastline
> >>
> >> As mentioned, I don't use it myself, I expect long time Vi/Vim users to
> >> be surprised if this changes.
> >
> > Really? I think the default of a bunch of '@'
> > doesn't really help anybody, instead show at least the beginning of the
> > line.
> >
>
> For people like me, who set 'wrap', display-=lastline would replace a
> "long last line" by several rows of @@@@@... which can be _extremely_
> annoying. Just @@@ at bottom right (or at bottom left if 'rightleft'
> is set) should IMHO be sufficient to show that the line goes on after
> the end of the screen, without filling maybe half the screen with only
> row after row after row of only at-signs.
>
> Of course I set +=lastline myself, since I need it and ATM it is not a
> default, but I can't imagine someone hollering in dismay if a last
> line (of several screen lines if 'wrap' is set) weren't anymore filled
> with at-signs only, but only the last three character cells were.
The problem of the current "lastline" implementation is that the @@@ at
the end is quite hard to spot. Switching from the old Vi behavior of
all "@" lines to that is quite a big jump:
old:
asdf asdf asdf asdf asd
@
@
@
@
lastline:
asdf asdf asdf asdf asd
asdf asdf asdf asdf asd fasdf asdf asdf asd fasd f
asdf asdf asdf asdf asd fasdf asdf asdf asd fasd f
asdf asdf asdf asdf asd fasdf asdf asdf asd fasd f
asdf asdf asdf asdf asd fasdf asdf asdf asd fas@@@
At the same time, the "@" lines filling most of the screen it useless.
I think everybody agrees with that.
So, trying to find a solution that we can use as default for everybody,
how about this: Show "@@@" in the last line, no other text. Then it's
clear there is more following, but still showing the lines that are
available. For a two-screen-line while there is only space for one, you
would only get "@@@". Users who want more can switch to "lastline" as
before. We could call this "truncate"
truncate:
asdf asdf asdf asdf asd
asdf asdf asdf asdf asd fasdf asdf asdf asd fasd f
asdf asdf asdf asdf asd fasdf asdf asdf asd fasd f
asdf asdf asdf asdf asd fasdf asdf asdf asd fasd f
@@@
--
ROBIN: The what?
ARTHUR: The Holy Hand Grenade of Antioch. 'Tis one of the sacred relics
Brother Maynard always carries with him.
ALL: Yes. Of course.
ARTHUR: (shouting) Bring up the Holy Hand Grenade!
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
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/d/optout.
Tuesday, July 26, 2016
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment