• @[email protected]
      link
      fedilink
      English
      21 year ago

      The old school programmer right here! All we’re missing is someone typing git commit -am “updates and stuff”

    • @[email protected]
      link
      fedilink
      11 year ago

      Basically a Jackie Chan fight scene, complete with somebody rolling a carriage at him and him kicking it back to pin them against the wall

    • @[email protected]
      link
      fedilink
      21 year ago

      Is there any reason to use :w other than it being the default? I have mine mapped to CTRL-S and it makes sure to keep me in insert mode if I was in insert mode. Feels way faster and easier to spam than the 4 key presses it takes to execute “:w”.

      • CronyAkatsuki
        link
        fedilink
        31 year ago

        I’m just used to it and I’m keeping ny time in instert mode at minimum.

        • @[email protected]
          link
          fedilink
          21 year ago

          My biggest (mostly) irrational internet pet peeve is the proliferation of people suggesting “:wq” when “:x” is strictly better.

      • @[email protected]
        link
        fedilink
        91 year ago

        I use quake style terminals, and often start writing a file and completely forget about it and turn off the computer, and only remember what i left behind when i find the random recovery files around, so :w a lot is quite useful for me.

          • @[email protected]
            link
            fedilink
            91 year ago

            Yes, on classic fps you could spaw a console that will drop down from the top os the screen, some terminal emulators allow you to do that.

            I like it because then i have the terminal always open that i just draw from the top of the screen with a keypress

            On KDE i do that with Yakuake, and on gnome with tilix

      • Victor
        link
        fedilink
        161 year ago

        So choose wisely. All other editor instances must remain open forever.

      • CronyAkatsuki
        link
        fedilink
        21 year ago

        Requires me to use my pibky for ctrl. I have esc remaped to caps so its faster for ke to just do :w

    • dotfiles
      link
      fedilink
      1
      edit-2
      1 year ago


      This will allow you to ctrl+s to save. I tried to add this in a backtick code line/block but it removes part of the syntax.

      • CronyAkatsuki
        link
        fedilink
        21 year ago

        Sorry but I’m already used to :w stoo much and a lot faster with it than ctrl+s

  • JoYo
    link
    fedilink
    English
    8
    edit-2
    1 year ago

    MFRs are saving each keystroke they have access to.

  • Johanno
    link
    fedilink
    81 year ago

    This is me in eclipse.

    Because I used to do the single save and it failed

  • @[email protected]
    link
    fedilink
    English
    41 year ago

    I’m the same way. I think it’s just a matter of being conditioned to manually save for the majority of my computing life.

  • @[email protected]
    link
    fedilink
    271 year ago

    We can optimize this further:

    unsatisfied = true
    while(unsatisfied) {
        key.dispatch(
            Keyboard::Ctrl,
            Keyboard::s
        )
    }
    

    …No, there is no instance where unsatisfied changes state

    • @[email protected]
      link
      fedilink
      English
      101 year ago

      Ctrl + C literally doesn’t work at times, it drives me crazy. It might be due to some shitty applications and websites overriding it or adding complexity (Like copying not only the text but additional information).

      I’m often 100% sure I copied the text, change the window and an old clipboard entry gets pasted.

      • BlanketsWithSmallpox
        link
        fedilink
        English
        81 year ago

        God I hate this so much. It’s especially frustrating on mobile where it takes like thirty seconds to try to get the right part of the text copied and use the fucking magnified blue dots… Ugh.

        • @[email protected]
          link
          fedilink
          English
          41 year ago

          Mobile is an entirely different beast. Like sometimes my keyboard doesn’t show up. Or the text select refuses to work. And so on. It’s a mess. Even on a Galaxy S22.

          No clue how people can exist without a proper computer at home and still do stuff online.

    • @[email protected]
      link
      fedilink
      41 year ago

      It’d be great if there were side kind of feedback, like the cursor quickly flashing a “C” or something… anything to let you know the operation occurred; better yet, was successful.

      • @[email protected]
        link
        fedilink
        English
        41 year ago

        I actually disagree from a systems engineer perspective: The program doesn’t actually know shit if those bits hit any permanent medium, just that the OS told them “I’ll take care of it” it could be sitting in a write back cache when you save, see the “write complete” and rip the power and that’s all gone now. Basically, I don’t like promising durability when it’s not really there.

      • @[email protected]
        link
        fedilink
        41 year ago

        Check for an asterisk after the file name (in the tab/title bar), it means “unsaved changes”.

  • @[email protected]
    link
    fedilink
    7
    edit-2
    1 year ago

    Meanwhile I, a gentleman

    nmap <CR> :w<CR>

    Binding the Enter key to save the current buffer. 🧐

  • Po Tay Toes
    link
    fedilink
    English
    21 year ago

    Auto-saving is the insurance against manually saving failing, which is the insurance against the computer or program failing.

    It’s insurances all the way down, yet I’m still let down when versioning overwrites my changes.

  • Victor
    link
    fedilink
    101 year ago

    I really should turn on auto save when vscode loses focus.