This doesn't cut it
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@piefed.world to Programmer Humor@programming.devEnglish · 2 个月前

Exit Sign

lemmy.ml

external-link
message-square
73
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
903
external-link

Exit Sign

lemmy.ml

cm0002@piefed.world to Programmer Humor@programming.devEnglish · 2 个月前
message-square
73
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
  • TragicNotCute@lemmy.world
    link
    fedilink
    English
    arrow-up
    38
    ·
    2 个月前

    I’m pretty sure that’s close without saving changes. :wq would be needed to save.

    • Aatube@kbin.melroy.org
      link
      fedilink
      arrow-up
      18
      ·
      2 个月前

      To be precise, : means bring up commands, w means save, q means exit, and ! means force

      • HeuristicAlgorithm9@feddit.uk
        link
        fedilink
        arrow-up
        13
        ·
        2 个月前

        I think it’s w = write and q = quit so the letters make more sense

        • glitches_brew@lemmy.world
          link
          fedilink
          arrow-up
          10
          ·
          2 个月前

          Also :x is the same as :wq

          • darklamer@lemmy.dbzer0.com
            link
            fedilink
            arrow-up
            13
            ·
            2 个月前

            No, it isn’t, x writes only when changes have been made, while w writes unconditionally.

            • glitches_brew@lemmy.world
              link
              fedilink
              arrow-up
              6
              ·
              2 个月前

              TIL. Ty!

            • josefo@leminal.space
              link
              fedilink
              arrow-up
              1
              arrow-down
              1
              ·
              2 个月前

              Why would you want to write again if no changes were made? It’s some obtuse behavior

              • darklamer@lemmy.dbzer0.com
                link
                fedilink
                arrow-up
                5
                ·
                2 个月前

                One obvious use-case is to cause the file to get a new timestamp, which for example tools like make look at.

      • ryper@lemmy.ca
        link
        fedilink
        English
        arrow-up
        5
        ·
        edit-2
        2 个月前

        To be more precise, q means quit the current window. If you’ve split the window, e.g. with :split or :vsplit, use :qa to quit all windows.

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 88 users / day
  • 4.3K users / week
  • 9.09K users / month
  • 19.2K users / 6 months
  • 1 local subscriber
  • 27.5K subscribers
  • 1.4K Posts
  • 37.2K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org