• We did not send an email asking for donations - please read this post.

vi - E488 trailing characters - CentOS

maelamrani

Member
Joined
Jan 3, 2020
Messages
77
Reaction score
7
Credits
450
Hello,
I have an issue, i created a file ~/.vimrc and i added
set number
set list
but when i comment the :
#set list
and i want to open a file with vi i have E488 trailing characters its like he didnt accepte the comment #

How can i solve the issue ?
 


JasKinasis

Well-Known Member
Joined
Apr 25, 2017
Messages
1,572
Reaction score
2,237
Credits
11,629
In vim-script, you use a double quote character " to comment out a line.
E.g.
Code:
" this is a comment in vim-script
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Members online


Latest posts

Top