0

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.

VIM

Using :set list

3
  • Please update your question to include what you entered to receive this message...
    – Attie
    May 5, 2018 at 17:22
  • I am following a walk-through and this was the script provided.
    – John Smith
    May 5, 2018 at 17:30
  • I think I answered your question. If not, It happens when I type :q /opt/tmp/file.py
    – John Smith
    May 5, 2018 at 17:40

1 Answer 1

1

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .