Upvote!
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@piefed.world to Programmer Humor@programming.devEnglish · 28 天前

Exit Sign

lemmy.ml

message-square
74
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
907

Exit Sign

lemmy.ml

cm0002@piefed.world to Programmer Humor@programming.devEnglish · 28 天前
message-square
74
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
  • Aatube@kbin.melroy.org
    link
    fedilink
    arrow-up
    18
    ·
    28 天前

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

    • HeuristicAlgorithm9@feddit.uk
      link
      fedilink
      arrow-up
      13
      ·
      28 天前

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

      • glitches_brew@lemmy.world
        link
        fedilink
        arrow-up
        10
        ·
        28 天前

        Also :x is the same as :wq

        • darklamer@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          13
          ·
          28 天前

          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
            ·
            28 天前

            TIL. Ty!

          • josefo@leminal.space
            link
            fedilink
            arrow-up
            1
            arrow-down
            1
            ·
            27 天前

            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
              ·
              27 天前

              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
      28 天前

      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.

  • 918 users / day
  • 3.06K users / week
  • 9.6K users / month
  • 19.3K users / 6 months
  • 1 local subscriber
  • 26.9K subscribers
  • 1.76K Posts
  • 61.8K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.6
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org