I’m trying out Obsidian for taking notes, and this made me laugh.

  • genoxidedev1
    link
    fedilink
    92 years ago

    I just noticed someone should try xkill if they get the chance. If that doesn’t work they should rephrase the question. That is all. This will be my last grand contribution for today. Have a nice Wednesday everyone :3

    • @confusedwiseman@lemmy.world
      link
      fedilink
      22 years ago

      This is usually how I end up exiting vim without saving, at least if I’m honest about it.

      Maybe one day I’ll get better at it. Nano has been plenty for me.

      • @hperrin@lemmy.world
        link
        fedilink
        62 years ago

        According to Stack Overflow, there is also:

        • :cq (quit without writing and return non-zero exit code)
        • ZQ (quit without writing from normal mode)
        • @itslilith@lemmy.blahaj.zone
          link
          fedilink
          3
          edit-2
          2 years ago

          I actually knew about ZQ :)

          but in what case would you ever need :cq ? I’m curious what’s the idea behind that

          Edit: I checked, neither work for obsidian verification, including :cq!

          disappointing :c

          • @GiantRobotTRex@lemmy.sdf.org
            link
            fedilink
            2
            edit-2
            2 years ago

            It’s useful when vim is being run from a different program or script.

            For example, if I run p4 change to create a new Perforce changelist it will open up my editor (which I have set to vim) so that I can enter the CL description and other fields. If I realize I don’t actually actually want to create the CL yet I can use :cq to quit with an error so that p4 knows to abort.

            I also have a script I use for diffing a list of file pairs. It runs vimdiff on the first pair of files then if I exit with :qa it will move on to the next pair of files. But if I exit with :cq it will just abort and skip all of the remaining file pairs.

    • Blyfh
      link
      fedilink
      22 years ago

      You can’t just quit it. Vim is one hell of a drug.

    • @Jorgelino@lemmy.mlOP
      link
      fedilink
      172 years ago

      I’m honestly not super familiar with vim. I tried :q! and it accepted it, what are some other ways?

      • OpenStars
        link
        fedilink
        82 years ago

        :wq will save and then exit, while :x will save only if the file has been modified and then exit, and then there’s ZZ that does the same as :x, plus there are probably others:-)

          • genoxidedev1
            link
            fedilink
            72 years ago

            Halfway true :3 I’m only a professional programmer which is why I attend in professional work fashion like thigh highs and arm warmers instead of fursuits. I’m more the stereotypical femboy programmer. Pre-edit: am i really just average 3,:

        • @Guru_Insights99@lemm.ee
          link
          fedilink
          -182 years ago

          You appear to be in the wrong subreddit (sublemmy?). This is a community based around programmer humor. I recommend you go to the furry sublemmy instead. It is for this reason I have down voted your post today

          • Purple
            link
            fedilink
            English
            52 years ago

            Buddy where do you think furries get the money for fursuits? They are very expensive (or so I’ve heard) and lots of furries pay for their fursuits with high paying jobs like IT jobs

          • genoxidedev1
            link
            fedilink
            92 years ago

            I don’t get it. I was pretty much replying with a programming related answer, being “:q”. I only added my personal flair to it, being “:3”. And I only expanded after another person assumed me to be a furry as well.

            If you want me gone because of that, you got to get your priorities out of the gutter, there ain’t none. And fix your stereotypes too. The other person at least replied humorously. You won’t get a “:3” from me. Good day!

  • amio
    link
    fedilink
    4252 years ago

    Funny, but unironically a pretty good idea.

    • @SatanicNotMessianic@lemmy.ml
      link
      fedilink
      1322 years ago

      One of my first computer jobs was working in a student computer lab at my undergraduate university. This was back in the mid 90s-ish.

      We had three types of computers - windows machines running 3.1 or whatever was current then, Macs who would all do a Wild Eep together when they rebooted en masse, and Sun X Windows dumb terminals that were basically just (obviously) unix machines for all intents and purposes. This was back when there were basically like 5 websites total, and people still hadn’t heard of Mosaic.

      So everyone wanted the windows and Mac boxes, and only took the xterms when there was nothing else open. I was the primary support person for them since none of the other people wanted to learn Unix and I was the only CS major.

      The X boxes suffered from two main learning hurdles. One was that backspaces were incorrectly mapped into some escape key sequence, and the other is that it would drop you from (I think) pine into emacs as a mail editor as soon as you hit it. 90% of my time was telling people how to exit emacs. It was that, putting more paper into the printers, and teaching myself more programming than I was learning in classes.

      • @modeler@lemmy.world
        link
        fedilink
        46
        edit-2
        2 years ago

        My god that brought back memories. The first commands when sitting at a new terminal was always, always:

        stty sane

        stty erase '^H'

        It was well into the 2000s before Unix had useable defaults.

      • @lolcatnip@reddthat.com
        link
        fedilink
        English
        52 years ago

        God, I remember the backspace thing. I hope whoever allowed a computer to be shipped in that condition got fired.

    • @filcuk@lemmy.zip
      link
      fedilink
      12 years ago

      I switched recently from Trillium.
      After installing two dozens plugins, it may just replace my KB site, note apps, task manager and PRM all at once.