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

  • flop_leash_973@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    A lot of my personal dislike for VIM would be done away with if it just had a helpful common keys cheat sheet (basic cursor navigation, edit mode, exit with and without saving, etc) at the bottom of the editor window like Nano does.

  • homura1650@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    1 year ago

    Tricky question, but I think I have a solution:

    :!readlink /proc/$PPID/fd/* | grep “$(dirname %)/.$(basename %).sw” | xargs -I{} rm “{}” ; kill -9 $PPID

  • Crass Spektakel@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    That is just hilarious but also…

    I just remembered that Bram Moolenaar, the author of vim has recently died…

    He was a real good person. Back when he released his first vim for Amiga Computers I exchanged some emails with him and he handled even my less smart suggestions very professional.

    I just take the chance to remind everyone to spend some money for his Uganda Charity.

    • SatanicNotMessianic@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      1 year 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
        arrow-up
        0
        ·
        edit-2
        1 year 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.