A Vim set question

9 views
Skip to first unread message

stosss

unread,
Nov 4, 2012, 1:36:55 AM11/4/12
to Vim Users
Are these different or the same? I don't see anything different in my display.

set display+=lastline
set display=lastline

Chris Lott

unread,
Nov 4, 2012, 1:50:17 AM11/4/12
to vim...@googlegroups.com
The first *adds* the lastline option to the list of display options

The second sets the display setting to lastline (only)

If you don't have or need any other options for display, then they are
functionally equivalent.

To be honest, I'm not sure how settings would be mixed--the only other
display option I have seen is uhex and I have no idea if lastline and
uhex can co-exist

c
--
Chris Lott <ch...@chrislott.org>
Reply all
Reply to author
Forward
0 new messages