Vim Higlight Tab Command

  • Higlight Tab in vim
    1
    2
    3
    4
    : match Error /\t\
    ^ ^
    | |
    color pattern
  • higlight command in vim will show your all 256 colors, You can replace color name with these 256 color names:
    1
    : higlight
    higlight tab
  • eg.:
    1
    2
    3
    : match Error /\ \     ---> space
    : match Visual /\t\ ---> tab
    : match DiffText /\user\ ---> match "user"

    This is what it looks like, red part is the tab:

    higlight tab