• Programmer Belch
    link
    fedilink
    English
    222 years ago

    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

    • @[email protected]
      link
      fedilink
      32 years ago

      Or if you want to text edit in hardcore mode, only use :x to exit. For after you’ve gotten used to vim and want to bring back some of the challenge.

    • @[email protected]
      link
      fedilink
      62 years ago

      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.