LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 02-27-2009, 07:10 AM   #1
gjagadish
Member
 
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

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

Rep: Reputation: 221Reputation: 221Reputation: 221
In your vimrc and/or gvimrc add the following line
Code:
set nowrap
Here are some other common (g)vim configuration options --> http://hints.cross-lfs.org/index.php/VIM_Configuration
 
Old 03-01-2009, 10:10 PM   #3
gjagadish
Member
 
Registered: Oct 2005
Location: India
Distribution: Fedora Core
Posts: 88

Original Poster
Rep: Reputation: 15
Thanks
 
  


Reply


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 07:39 AM
replace a word in vim editor fssengg Linux - Newbie 3 03-10-2005 08:39 AM
remove color after word search in vi editor dylan912 Linux - Newbie 1 12-10-2004 04:15 AM
Replace word in VIM ICO Linux - Software 2 03-17-2004 01:28 AM
ncurses word wrapping? gtanghookup Programming 1 09-12-2003 05:47 PM


All times are GMT -5. The time now is 03:49 AM.

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