Ubuntu: How to hide whitespace indicators in Vim



Question:

Vim was showing some whitespace with commas and periods on a red background which I didn't want. After some googling I was able to get rid of the commas and periods by removing list and listchar lines from .vimrc, I was also hoping this would remove the red backgrounds it was putting in these places, but all it did was change that to white (see image).

enter image description here

Is it possible to completely remove the whitespace background indicators in Vim? My .vimrc settings can be seen here and the plugins I'm using are listed here


Solution:1

Thanks to Lasall's suggestion to check my plugins the behavior turned out to be caused by a plugin named vim-indent-guides - removing that resolved the issue.


Solution:2

This will do the trick:%s/^ +// :)


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »