Help answer threads with 0 replies.
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, 07: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, 08:44 AM   #2
ReliaFree Maintainer
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,812
Blog Entries: 1

Rep: Reputation: 259Reputation: 259Reputation: 259
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, 10: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 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 > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:51 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