I am very new to VIM and am trying to figure out where the trailing characters are. I have looked through :help and the meaning of the error message. As far as I can tell, am I supposed to replace "'s with the escape character? What would the syntax look like? Thank you.
-
Please update your question to include what you entered to receive this message...– AttieMay 5, 2018 at 17:22
-
I am following a walk-through and this was the script provided.– John SmithMay 5, 2018 at 17:30
-
I think I answered your question. If not, It happens when I type :q /opt/tmp/file.py– John SmithMay 5, 2018 at 17:40
Add a comment
|
1 Answer
The :quit
command never takes an argument.
:q /opt/tmp/file.py
should either be:
:wq /opt/tmp/file.py " write buffer to file /opt/tmp/file.py then quit window
or:
:q! " quit window without writing to file