• CeeBee@lemmy.world
    link
    fedilink
    arrow-up
    33
    arrow-down
    4
    ·
    10 months ago

    It’s pretty simple:

    • Spam the escape key a bit
    • Then do shift + ;
    • when you’re in command mode, do the following
    • q! to forcibly quit
    • wq! to forcibly write your changes and quit

    Simple!-ish

    • p_consti@feddit.de
      link
      fedilink
      arrow-up
      13
      ·
      10 months ago

      Not to be pedantic, but it’s not shift+; it’s :, which may be somewhere else depending on your keyboard. For example on (german?) Quertz that’s shift+.

      • CeeBee@lemmy.world
        link
        fedilink
        arrow-up
        6
        ·
        10 months ago

        This is true, but since I already used “:” to indicate an upcoming list, I wanted to be deliberately clear that I was referring to the key, and not suggesting another list.