Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides

It is currently Wed May 24, 2017 1:08 pm

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

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

Joined: Thu Aug 06, 2009 2:48 am
Posts: 105


VI / VIM: Show end of the lines

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

:set list

Every line will be terminated by a $:

       vim - Vi IMproved, a programmers text editor$
       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]$
       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$
       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$
       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

Vi/Vim - Show line numbers in vi or vim.

Display posts from previous:  Sort by  
E-mail friendPrint 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




Thu Oct 01, 2009 5:45 am

LaR3 View the latest post


Who is online
Users browsing this forum: No registered users and 0 guests
You can post new topics in this forum
You can 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 - 5 hours [ DST ]