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:
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