LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 08-06-2012, 09:17 AM   #1
masuch
Member
 
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 ?


Hi,

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

thank you,
M.
 
Old 08-06-2012, 09:30 AM   #2
funny_ha_ha
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, 09:31 AM   #3
crosstalk
Member
 
Registered: Jul 2010
Distribution: Gentoo, Debian, Mint, Xubuntu
Posts: 150

Rep: Reputation: 35
Use the command:

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

Original Poster
Rep: Reputation: 1
thanks.
 
  


Reply

Tags
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-28-2009 12:51 AM
command line//text editor Fred Caro Linux - Newbie 6 02-18-2009 12:23 PM
Delete the first row from a text file loopoo Linux - Newbie 2 08-15-2006 03:57 AM
SED - display text on specific line of text file 3saul Linux - Software 3 12-29-2005 05:32 PM
Display/Read line 'N' in a text file using script ganninu Linux - Newbie 2 10-13-2003 06:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:20 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration