Visit the LQ Articles and Editorials section
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 02-27-2009, 08:10 AM   #1
Registered: Oct 2005
Location: India
Distribution: Fedora Core
Posts: 88

Rep: Reputation: 15
Remove Word Wrapping Vim Editor

Be defaults, vim word wraps all the lines in a file.

I don't want them to be word wrapped. How do we remove word wrapping in vim editor

Thanks in advance

Old 02-27-2009, 09:44 AM   #2
ReliaFree Maintainer
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,779
Blog Entries: 1

Rep: Reputation: 243Reputation: 243Reputation: 243
In your vimrc and/or gvimrc add the following line
set nowrap
Here are some other common (g)vim configuration options -->
Old 03-01-2009, 11:10 PM   #3
Registered: Oct 2005
Location: India
Distribution: Fedora Core
Posts: 88

Original Poster
Rep: Reputation: 15


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to set "wrapping size" in VIM staul Linux - Software 1 04-17-2005 08:39 AM
replace a word in vim editor fssengg Linux - Newbie 3 03-10-2005 09:39 AM
remove color after word search in vi editor dylan912 Linux - Newbie 1 12-10-2004 05:15 AM
Replace word in VIM ICO Linux - Software 2 03-17-2004 02:28 AM
ncurses word wrapping? gtanghookup Programming 1 09-12-2003 06:47 PM

All times are GMT -5. The time now is 06:57 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration