Show whitespace characters in gvim

前端 未结 4 1770
孤街浪徒
孤街浪徒 2020-12-23 10:05

Is there an easy way to display whitespace characters such as space and tab in gvim? Something like what is implemented in Gedit, Geany, Komodo, and other GUI editors where

4条回答
  •  长情又很酷
    2020-12-23 10:33

    Check out listchars and list options in Vim. An example use of this feature:

    " part of ~/.vimrc
    " highlight tabs and trailing spaces
    set listchars=tab:>-,trail:-
    set list
    

提交回复
热议问题