Answer the question
In order to leave comments, you need to log in
How to display spaces in VIM (ALL spaces, not just trailing)?
set list
set listchars=eol:↲,tab:→→,trail:•,nbsp:↔
Answer the question
In order to leave comments, you need to log in
All you need is:
set listchars=eol:¬,tab:> ,trail:~,extends:>,precedes:<,space:•
set list
I also faced the same problem, and did not find a sane solution. I'm very used to how Qt Creator renders spaces and tabs.
So you can immediately find problems with code formatting.
Subscribe to the question, if you find a solution outside of this resource, please let me know (contacts in the profile).
listchars does not work with spaces
, but there is a way out :) you can convert spaces to tabs
:set noexpandtab
:retab!
:set listchars=tab:.\ ,extends:>,precedes:<,trail:.,nbsp:.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question