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

    • SatanicNotMessianic@lemmy.ml
      link
      fedilink
      arrow-up
      7
      ·
      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
        4
        ·
        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.

      • lolcatnip@reddthat.com
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

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

    • marduk@lemmy.sdf.org
      link
      fedilink
      arrow-up
      5
      ·
      edit-2
      1 year ago

      I like nano because it has worked any time I needed it. I don’t dislike nano because I’m not good enough at Linux to have ever run into its limitations

      • bioemerl@kbin.social
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Vim really is an IDE, not a text editor. It’s usable as an editor but overkill.

        Nano serves a difference purpose. It’s like telling someone on a bike that a mustang is better.

        • Kogasa@programming.dev
          link
          fedilink
          arrow-up
          5
          ·
          1 year ago

          Vim is absolutely not an IDE. It has no integrations with any language. It’s just a powerful text editor. You can add language plugins and configure it to be an IDE.

                • Kogasa@programming.dev
                  link
                  fedilink
                  arrow-up
                  0
                  ·
                  1 year ago

                  I’m not a text editor. But anyway, would you call a shell script that invokes python.exe $1 a Python IDE? Why would you? Vim isn’t designed to facilitate the use of vimscript, vimscript is just an extensibility feature of Vim.

          • Bo7a@lemmy.ca
            link
            fedilink
            arrow-up
            0
            ·
            1 year ago

            No offense intended here - But why is this being upvoted?

            vim absolutely is an IDE if that is how you want to use it. Syntax highlighting, linter, language specific autocomplete, integrated sed/regex. And much, much more.

            • Kogasa@programming.dev
              link
              fedilink
              arrow-up
              0
              ·
              1 year ago

              Syntax highlighting, linting, and language specific autocomplete are features supported by plugins and scripts. Plain, simple vim is a powerful extensible text editor. The extensibility makes it easy to turn into an IDE.

                • Kogasa@programming.dev
                  link
                  fedilink
                  arrow-up
                  0
                  ·
                  1 year ago

                  Yeah, there is a generic syntax highlighting scheme. I had forgotten because it’s not very good for some languages, I’d replaced it with a LSP-based implementation years ago.

          • Frank Müller@mastodon.social
            link
            fedilink
            arrow-up
            0
            arrow-down
            1
            ·
            1 year ago

            @kogasa Hehe, shit, so long done something wrong as I use #vim as an IDE. Okay, some own helpers, some plugins, the direct integration for #golang via LSP and since some time also ChatGPT and Copilot. But hey, it’s no IDE. 🤪

      • Troz@sh.itjust.works
        link
        fedilink
        arrow-up
        2
        ·
        2 months ago

        I made that switch a few months ago just so I could cut, copy and paste without having to lookup how to do it. it’s been great.

    • XEAL@lemm.ee
      link
      fedilink
      arrow-up
      0
      arrow-down
      1
      ·
      1 year ago

      Here!

      I hate terminal-based text editors

      Nano seems quite user/idiot friendly

  • psud@aussie.zone
    link
    fedilink
    arrow-up
    6
    ·
    1 year ago

    If anyone needs the command: :q!

    If you want the computer to ask if you’re sure: :q

    If you want to save: :wq

    • DNOS@reddthat.com
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Uh… so u guys don’t change the PC each time that’s cool I would definitely try that …

  • homura1650@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    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

  • chraebsli@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    8 months ago

    Great idea for when you start in IT! Always had trouble first year in my apprenticeship when i had accidentally opened vim. Ask for first time and after 2 months not used.

    Did someone already open a pull request?

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

    I don’t mean to be all “BuT iT’s cLOseD SoURce” but you should give Logseq or Zettlr a try. They’re similar WYSIWYG markdown editors, but also FOSS. Zettlr also has vim keys.

    Plus Obsidian is horrible at editing tables.

    • doeknius_gloek@feddit.de
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      Also not a fan about the closed source thing, but I like about Obsidian that it’s all just markdown. If I ever need to ditch it, I can keep and use my existing files as they are.

      Would this also be possible with Zettlr or Logseq?

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

        Been using Logseq for six months, and yes. It’s all just .md and media files referenced by relative links.

        This was an important factor the choice to use it. Having used several note taking applications / systems, getting your data ‘out’ in a painless fashion is the #1 concern.

  • 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.

    • CatLikeLemming@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 months ago

      Really, I’d just recommend using nano then. It’s installed basically anywhere you can find vim and works perfectly fine as a text editor! To use vim effectively it has a learning curve no matter what, so it’s not necessarily meant for everyone.

    • jayemar@lemm.ee
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      I understand where you’re coming from, but as a frequent user of vim I’d much rather have the additional line of text.

  • Crass Spektakel@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    arrow-down
    1
    ·
    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.