On Tue, Nov 25, 2008 at 09:00:11PM +0100, Dennis Benzinger wrote: > > Am 25.11.2008 18:37, Erik Falor schrieb: > > On Tue, Nov 25, 2008 at 05:51:30PM +0100, Dennis Benzinger wrote: > >> > >> Is it possible to insert a newline in guitabtooltip? > >> I'm using the GTK2 GUI. > >> > >> > >> Dennis Benzinger > >> > >> > > > > > Yes. > > And how can I do that? > > :set guitabtooltip=a\nb > > results in a tooltip displaying "anb" (Without the quotes).
Option 1: Don't use an escape sequence with :set; use the terminal code: :set guitabtooltip=a<Ctrl-V><Ctrl-M>b Option 2: Treat it as an expression rather than an option: :let &guitabtooltip="a\nb" Using :set with very complicated string options is a real pain. With :let, you can avoid much of the headache associated with backslashes and whitespace. And, in this case, it's the only way to get escape characters recognized. -- Erik Falor Registered Linux User #445632 http://counter.li.org --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
