How to Wrap and NOT Wrap Lines in vim?

Make vim wrap lines:

:set wrap

For not wrap which will be useful when reading some data result such as logs:

:set nowrap

It can also be written into the .vimrc config files

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *