LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   vi / vim editor - how to display text file one line on one row ? (https://www.linuxquestions.org/questions/linux-newbie-8/vi-vim-editor-how-to-display-text-file-one-line-on-one-row-4175420636/)

masuch 08-06-2012 08:17 AM

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.

funny_ha_ha 08-06-2012 08:30 AM

:set nowrap

crosstalk 08-06-2012 08:31 AM

Use the command:

Code:

set nowrap
You can put this in your .vimrc file to make it permanent.

masuch 08-06-2012 09:14 AM

thanks.


All times are GMT -5. The time now is 07:36 AM.