Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [listchars]

The tag has no usage guidance.

0
votes
0answers
25 views

show non-leading tabs as ^I

Sometimes I need to use a literal tab that isn't in a leading position (for instance in a Makefile or occasionally in a shell script). It would be nice if tabs in those contexts were displayed in a ...
0
votes
0answers
25 views

Using different listchars in splits

I have normally set up my listchars to make tab characters and trailing spaces visible. In my ~/.vim/vimrc I have: set listchars=tab:»\ ,trail:· Now there are certain file types where tabs are ...
2
votes
1answer
75 views

Highlighting tabs, trailing space and non-breaking space by colors, not chars

Currently I highlight these with: set listchars=tab:▶—,trail:␣,nbsp:⍽ But the drawback is I cannot usefully copy-paste from the terminal where vim resides to another one: e.g. suppose I'm editing a ...
1
vote
2answers
178 views

How to show tabs normally when 'set list'?

Sometime there is 0xa0 in my code, which causes compile error and hard to find out where it is because it's invisible.. I searched on google and found set listchars=nbsp:. can make the 0xa0 visible. ...
0
votes
1answer
60 views

Listchar “precedes” does not show up

I have a long data line: When I switch off wrapping and place the cursor somewhere in the middle, it looks like this: Here I see the "extends' listchar, but not the "precedes". I also made the ...