Tuesday, July 26, 2016

Re: Changing the defaults with Vim 8

On Tue, Jul 26, 2016 at 01:21:56PM +0200, Bram Moolenaar wrote:
>
> 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
> @@@

Hi Bram, et al.

As a long time lurker on the list, and user of vim since somewhere in v5 and vi
since 1987, I first want to say thank you for vim, and especially for the
careful thought and way you pay attention to details like these. I agree that
updating the default settings is reasonable, and your choice of timing is well
reasoned.

As someone who edits lots of files with really long lines, I have to say that
this change will definitely violate the rule of least surprise for me, but that
I will be very happy about it after the first week. I would definitely want the
continuation marker to begin in column 1 as you propose.

If it helps any, I also source vimrc_example.vim as the starting point of my
.vimrc.

-Greg
--
Greg Vilardi |Technical Lead E-mail:vilardi@panix.com
USnail: 354 Indian Head Rd |Vormittag Associates, Inc. Home:(631)864-1310
Commack, NY 11725 |Ronkonkoma, NY 11779 Cell:(631)627-1448
.sig Version 0.71 I thought, I wrote, I posted.

--
--
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.

No comments: