On Thu, 28 Jun 2001, Jeroen van Wolffelaar wrote:

> > Please don't use tabs, but only spaces for indentation.
>
> I'm sorry, I didn't know vim used tabs automatically...
> :set et sw=1 ts=1
> seems to fix that.
>
> Anyone knows of an option to visualise the tabs? Not :set list, since it
> renders the ts useless.

/\t will search for tabs, and if you set this option in your
.vimrc all occurences will be displayed too:

:set hlsearch
:highlight Search ctermfg=1 ctermbg=7

It may be possible to set these options too( but before the other 2
above):

:if has("terminfo")
:  set t_Co=8
:  set t_Sf=^[[3%p1%dm
:  set t_Sb=^[[4%p1%dm
:else
:  set t_Co=8
:  set t_Sf=^[[3%dm
:  set t_Sb=^[[4%dm
:endif

regards,
Derick

Reply via email to