LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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, 08:17 AM   #1
masuch
Member
 
Registered: Sep 2011
Location: /dev/null
Distribution: ubuntu 64bits
Posts: 129

Rep: Reputation: Disabled
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, 08: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, 08: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, 09:14 AM   #4
masuch
Member
 
Registered: Sep 2011
Location: /dev/null
Distribution: ubuntu 64bits
Posts: 129

Original Poster
Rep: Reputation: Disabled
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-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


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