On Mon, Feb 4, 2013 at 11:03 AM, Gary Furash <[email protected]> wrote:

> I'd like to do the following in my VIMRC
>
>   set list lcs=tab:\|\
>
> where the last character of above is an escaped space "\ ". However, I
> also trip trailing spaces using the %s/ commands automatically, which is
> valid except for this line in my VIMRC. SET does not seem to like x='some
> string with a space '. How do I fix this?
>

In this case, there is an easy work-around:

:set lcs=tab:\|\  list

(where I have added a space after the escaped space).  A more robust
solution is to use :let as in

:set list
:let &lcs = 'tab:| '
:help :let-option

HTH      --Benji Fisher

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to