I want to view where lines end in gvim. I very often have spaces after statements and I don’t want to have. How to toggle this editor feature?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use:
That will show lots of stuff (see
:help 'list'for more information). If you want to just show the line endings, do this as well:(Note that there are two “backslash, space” pairs on the end of the line). This prevents tabs from being highlighted.
You could alternatively do:
To make all trailing spaces as
#. Play with it to your hearts content and see:Alternatively, you can just highlight it with something like this: