Home » Linux

How to wrap and NOT wrap lines in vim

By: Zhiqiang Ma On: Jan 21, 2010 Views: 25 No Comment Print Email
Tags: , , ,

For wrap:

: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

Updated on Apr. 2. Format the post.

Read more:

Digg del.icio.us Stumble Techorati Facebook Newsvine Reddit Twitter
Mixx LinkedIn Google Bookmark Yahoo Bookmark MySpace LiveJournal Blogger RSS feed
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.