Matthias Pitzl wrote:
> Kiffin Gish wrote:
>> How can I configure vim to display temporarily whitespace (tabs, spaces,
>> etc) as I type but disappearing once the cursor moves on? I remember
>> seeing this somewhere but can't find it anymore. Thanks.
>>
> 
> You mean probabely :set list and a proper setting of listchars.

I pondered a similar solution using :[2]match:

   :match Error / \+/
   :2match WildMenu /\t\+/

(or they can be rolled into one

   :match Error /\s\+/

if you don't want to distinguish between them)

However what threw me was his "temporarily" aspect.  I don't know 
of anything that clears on a cursor-move.  Both your 'list' 
solution and my ":match" solutions persist until turned off. 
Though at least with yours, it's an easy

   :nnoremap <f4> :set list!<cr>

for toggling.  But that doesn't highlight spaces.

Anyways, several ideas for the OP to play with.

-tim








--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to