• Programmer Belch
    link
    fedilink
    English
    2311 months 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

    • @Buddahriffic
      link
      311 months 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
      211 months 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.