Ivorde Unix/Linux/Database/Web/Mail Forum

View unanswered posts
View active topics
It is currently Sat Feb 04, 2012 10:32 pm


Tutorials applicable on more than one Unix/Linux OS and shell scripts: ssh / openssl / protocols.

Bookmark this article:

Author Message
debuser
Post  Post subject: VI / VIM: Show end of the lines  |  Posted: Thu May 13, 2010 3:03 pm

Joined: Thu Aug 06, 2009 9:48 am
Posts: 90

Offline
Save on Delicious
In order to have a dollar sign at the end of each line in VI / VIM editor, set the following parameter while editing:

Code:
:set list


Every line will be terminated by a $:

Example:
Code:
VIM(1)>-->-->-->-->-->-->-->-->--VIM(1)$
$
$
$
N^HNA^HAM^HME^HE$
       vim - Vi IMproved, a programmers text editor$
$
S^HSY^HYN^HNO^HOP^HPS^HSI^HIS^HS$
       v^Hvi^Him^Hm [options] [file ..]$
       v^Hvi^Him^Hm [options] -$
       v^Hvi^Him^Hm [options] -t tag$
       v^Hvi^Him^Hm [options] -q [errorfile]$
$
       e^Hex^Hx$
       v^Hvi^Hie^Hew^Hw$
       g^Hgv^Hvi^Him^Hm g^Hgv^Hvi^Hie^Hew^Hw e^Hev^Hvi^Him^Hm e^Hev^Hvi^Hie^Hew^Hw$
       r^Hrv^Hvi^Him^Hm r^Hrv^Hvi^Hie^Hew^Hw r^Hrg^Hgv^Hvi^Him^Hm r^Hrg^Hgv^Hvi^Hie^Hew^Hw$
$
D^HDE^HES^HSC^HCR^HRI^HIP^HPT^HTI^HIO^HON^HN$
       V^HVi^Him^Hm  is a text editor that is upwards compatible to Vi.>It can be used$
       to edit all kinds of plain text.  It is especially useful  for  editing$
       programs.$
$
       There  are a lot of enhancements above Vi: multi level undo, multi win-$
       dows and buffers, syntax highlighting, command line  editing,  filename$
       completion,   on-line   help,   visual  selection,  etc..   See>-":help$
       vi_diff.txt" for a summary of the differences between V^HVi^Him^Hm and Vi.$
$
       While running V^HVi^Him^Hm a lot of help can be obtained from the  on-line  help$
       system,>with the ":help" command.  See the ON-LINE HELP section below.$
$
       Most often V^HVi^Him^Hm is started to edit a single file with the command$
$
>--    vim file$
$
       More generally V^HVi^Him^Hm is started with:$
$
>--    vim [options] [filelist]$
$
       If the filelist is missing, the editor will start with an empty buffer.$
       Otherwise  exactly  one out of the following four may be used to choose$
       one or more files to be edited.$
$
       file ..>   A list of filenames.  The first one>will  be  the  current$
>-->--   file  and  read  into the buffer.  The cursor will be posi-$
>-->--   tioned on the first line of the buffer.  You can get to the$
>-->--   other  files with the ":next" command.  To edit a file that$
:set list


Top
Display posts from previous:  Sort by  
Print view

Topics related to - "VI / VIM: Show end of the lines"
 Topics   Author   Replies   Views   Last post 
There are no new unread posts for this topic. Vi/Vim - Show line numbers in vi or vim

LaR3

0

656

Thu Oct 01, 2009 12:45 pm

LaR3 View the latest post

 

Who is online
Users browsing this forum: No registered users and 0 guests
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Jump to:  
News News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC + 2 hours [ DST ]

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
DAJ Glass 2 template created by Dustin Baccetti

phpBB SEO