I want to view a big blob of text (ascii-graphics), but when I use :set nowrap some < and > symbols appears at the left and right borders of the buffer window.

They are kinda annoying and I want to use maximum of available width.

How can hide them?


The command

:set listchars-=extends:>,precedes:<

will "hide" them by removing them from the 'listchars' list. You can also change their value by modifying the string after the colon(:). (Colon and comma are forbidden.)

The way :set-= works you need to pass the exact values to remove them, so it might be a good idea to check the values with

:set listchars?

before you remove them.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.