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.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to