I set the setting in the vi file to spaces, and I want to verify that it is working correctly is there a way to test it ?
I know it is a trivial question but I am new to vi editor
I set the setting in the vi file to spaces, and I want to verify that it is working correctly is there a way to test it ?
I know it is a trivial question but I am new to vi editor
take a look at :set list
/ :help list
you can set listchars like so:
set listchars=tab:>-,trail:~,extends:>,precedes:< " mark all kinds of whitespace
as an example, this setting will show tabs as >
so you know where your tabs are.
useful links: Make Vim show ALL white spaces as a character