--
David Trimboli
Windows Systems Analyst
Cold Spring Harbor Laboratory
> I see that one cannot put a tab in the showbreak option.
> [...]
Use spaces. --Antony
Yeeeeeeesss... but that doesn't consider the possibility of changing the
tab size.
Still, I tried it and found that regular spaces do not work. Spaces, and
anything appearing after them, do not show up. " " results in no
showbreak; "+ " results in a showbreak of "+", and "+ +" results in a
showbreak of "+". This is odd, since the manual says you can include spaces.
I compromised and entered eight no-break spaces, which worked.
Spaces in the rhs of set assignments need to be quoted with backslashes.
The following all work for me using vim 7.2.148 on Linux.
:set showbreak=+\ +
:set showbreak=\ \ \ \ \ \ \ \
Note that the last character of the second set is a space. You could
also use let instead of set, then you could enclose the rhs in quotation
marks:
:let &showbreak="+ +"
:let &showbreak=" "
--
Gary Johnson
Aha! Got it.