Bing
2008-09-28 01:48:22 UTC
Hi all,
I am wondering if there is an easy way to display the leading
spaces in vim.
Using color to highlight these spaces is not what I want. Ideally I
want the
same effect for displaying the leading spaces as I currently have for
the trailing
spaces using
set list
set lcs=tab:». "show tabs
set lcs+=trail:. "show trailing spaces
For some people around me, the way I am currently using in vim as
above to
differentiate the tabs and spaces in Python code is not as good as the
way
they can do in Crimson Editor or Ulipad. The rationale is that it is
not that easy
to count the number of leading spaces when it is simply blank white
space compared
to in Crimson Editor or Ulipad you can make the leading spaces look
like dots.
This feature is also in the Visual Studio (Ctrl R and Ctrl W).
Many thanks in advance!
Bing
I am wondering if there is an easy way to display the leading
spaces in vim.
Using color to highlight these spaces is not what I want. Ideally I
want the
same effect for displaying the leading spaces as I currently have for
the trailing
spaces using
set list
set lcs=tab:». "show tabs
set lcs+=trail:. "show trailing spaces
For some people around me, the way I am currently using in vim as
above to
differentiate the tabs and spaces in Python code is not as good as the
way
they can do in Crimson Editor or Ulipad. The rationale is that it is
not that easy
to count the number of leading spaces when it is simply blank white
space compared
to in Crimson Editor or Ulipad you can make the leading spaces look
like dots.
This feature is also in the Visual Studio (Ctrl R and Ctrl W).
Many thanks in advance!
Bing