Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-06-2012, 08:17 AM   #1
Registered: Sep 2011
Location: /dev/null
Distribution: ubuntu 64bits
Posts: 135

Rep: Reputation: 1
Question vi / vim editor - how to display text file one line on one row ?


Is it possible in vi / vim editor to display text file one line on one row (do not word wrap) and how ?

thank you,
Old 08-06-2012, 08:30 AM   #2
LQ Newbie
Registered: Aug 2012
Location: Germany
Distribution: mostly Debian-based
Posts: 3

Rep: Reputation: Disabled
:set nowrap
1 members found this post helpful.
Old 08-06-2012, 08:31 AM   #3
Registered: Jul 2010
Distribution: Gentoo, Debian, Mint, Xubuntu
Posts: 150

Rep: Reputation: 35
Use the command:

set nowrap
You can put this in your .vimrc file to make it permanent.
Old 08-06-2012, 09:14 AM   #4
Registered: Sep 2011
Location: /dev/null
Distribution: ubuntu 64bits
Posts: 135

Original Poster
Rep: Reputation: 1


editor, vi, vim, word, wrap

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
Paste each single row from n separate text files into a new file containing n rows Mike_V Programming 11 04-27-2009 11:51 PM
command line//text editor Fred Caro Linux - Newbie 6 02-18-2009 11:23 AM
Delete the first row from a text file loopoo Linux - Newbie 2 08-15-2006 02:57 AM
SED - display text on specific line of text file 3saul Linux - Software 3 12-29-2005 04:32 PM
Display/Read line 'N' in a text file using script ganninu Linux - Newbie 2 10-13-2003 05:28 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:54 AM.

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