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

    • @[email protected]
      link
      fedilink
      38 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.

    • @BigDanishGuy
      link
      28 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.

      • Programmer Belch
        link
        fedilink
        English
        58 months ago

        In the end linux is about choice, if you don’t want to remember the commands to edit with vim, there are text editors like nano or some kind of notepad program from your DE