E488尾随字符VIM


0

我对VIM很新,我想弄清楚尾随字符的位置。我查看了:帮助和错误消息的含义。据我所知,我应该用转义字符替换“s”?语法是什么样的?谢谢。

VIM

使用:设置列表


请更新您的问题以包括您为收到此消息而输入的内容...
Attie

我正在进行一次演练,这是提供的脚本。
约翰史密斯

我想我回答了你的问题。如果没有,它会在我键入时发生:q /opt/tmp/file.py
John Smith

Answers:


1

:quit命令永远不会参与。

:q /opt/tmp/file.py

应该是:

:wq /opt/tmp/file.py    " write buffer to file /opt/tmp/file.py then quit window

要么:

:q!                     " quit window without writing to file
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.