you are viewing a single comment's thread
view the rest of the comments
[–] 16 points 2 years ago (4 children)

Hit Esc then type "q!" <- how hard was that? Don't listen to the vimxit liars

  • source
  • parent
  • hideshow 8 child comments
  • [–] 23 points 2 years ago (2 children)

    Don't forget the ':' before the q!, when you type ':' you enter command mode, the q command quits the file and putting an exclamation mark after the q doesn't save the file and forces the file to be closed

  • source
  • parent
  • hideshow 4 child comments
  • [–] 2 points 2 years ago (2 children)

    Ok, I may have forgotten about the ":" but I stand by the rest, if you can't remember how to do a qw, then you can't be trusted to write to a file.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 9 points 2 years ago (1 child)

    Open a new terminal and type sudo killall vim

  • source
  • parent
  • hideshow 2 child comments
  • [–] 9 points 2 years ago (1 child)