Don't let vim display the tab character '>'?
阿神
阿神 2017-05-16 16:38:15
0
4
631

[Question has been closed] The answer below does not solve the problem,

indent -i8 -ts 1 xx.c

I like to use indent -i8 xx.c to format existing c source files.
But the tab character '>' will be displayed after processing. How to cancel it and prevent it from being displayed? You can use: retab, but is there any other method?
For example, every time you open it, it will automatically execute : retab.

阿神
阿神

闭关修行中......

reply all(4)
phpcn_u1582

Obviously I feel uncomfortable using someone else’s .vimrc,
It’s better to write my own .vimrc,

phpcn_u1582

set nolist

Put it into your .vimrc

滿天的星座

Add a line of retab to ~/.vimrc

phpcn_u1582

Check your vimrc, there should be a line similar to: set listchars=tab:›, just comment it out

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template