Ben Fritz <[email protected]> [09-06-15 04:01]: > > > > On Jun 14, 12:01 pm, [email protected] wrote: > > > For "statusline" it is: > > set statusline=bla bla bla bla > > > > Actually, it would be :set statusline=bla\ bla\ bla\ bla > > > But > > let mystatusline=bla bla bla > > > > fails due to the spaces... > > > > How can I accomplish this? > > > > Unlike :set, :let takes an expression. You need to feed it a string > value. Here, it would be > > :let mystatusline='bla bla bla' > > Later, to set the option to be equal to the variable, use > > :let &statusline=mystatusline > > See :help :let which includes several examples. > Thanks a lot...but it works only, if all "\" characters were removed from
:let mystatusline="bla\ bla\ ...." Kind regards. mcc -- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
