• RobertoMorrison@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    2 days ago

    Though I use neovim as a text editor, Zed is my IDE of choice. I think it’s a good alternative for most people that don’t like Electron-based applications.

    • OmegaLemmy@discuss.online
      link
      fedilink
      arrow-up
      6
      ·
      2 days ago

      Zed is good but still in its infancy, but it has new content and sees many improvements quickly, needs more extension developers and I had to make my own extension for a language that was not well handled by zed

    • urandom@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      17 hours ago

      As a long, long, long time vi/vim/neovim user, zed is just a breath of fresh air. It’s feature first like neovim, but doesn’t suffer from them being half baked somehow

    • LeninOnAPrayer@lemm.ee
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 day ago

      Knowing how to actually navigate vim is worth learning. Especially if you work in embedded systems where a lot of the time you’re on setup that is running barebones and likely just has vi as a text editor.

      But I used VSCode for dev work with the VIM plugin.

    • stetech@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      edit-2
      1 day ago

      Helix is “it just works” but it actually does, without having to get lost in the (config) sauce.

      It’ll be unstoppable once they finalize and ship the plugin system.

      Edit: and I haven’t even mentioned the descriptions above commands, the command palette-like functionality in <Space-?>, nor the tutor yet. It’s just so much more beginner-friendly.

      • sanderium@lemmy.zip
        link
        fedilink
        English
        arrow-up
        2
        ·
        22 hours ago

        Yeah, so many things are so easy to configure with less moving parts, plus the window splitting is amazing.

  • electric_nan@lemmy.ml
    link
    fedilink
    arrow-up
    55
    arrow-down
    1
    ·
    2 days ago

    I remapped the power button of my computer to whatever that series of keypresses is that exits vim.

    • pinball_wizard@lemmy.zip
      link
      fedilink
      arrow-up
      10
      ·
      1 day ago

      That’s really smart. That way if I ever figure out the command to exit Vim, it’ll behave the same as my current method (powering off the PC.)

    • ArbitraryValue@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      43
      ·
      edit-2
      2 days ago

      that series of keypresses is that exits vim

      One of the great mysteries of the universe. However, I can confirm that my standard power button also exits vim.

    • chonglibloodsport@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      2 days ago

      Yeah. A lot of people who use vim don’t know how to use the full power of vi. They’ll often install plugins to do things they could have easily done with built in features!

      The one area where regular vi sucks though is undo. If you want multiple undo then you’ll have to at least go with something like nvi.

      • baines@lemmy.cafe
        link
        fedilink
        English
        arrow-up
        5
        arrow-down
        2
        ·
        2 days ago

        imagine thinking a non user will read this and want to use vi/vim

        vim users have the same energy as latex users

        • chonglibloodsport@lemmy.world
          link
          fedilink
          arrow-up
          6
          ·
          edit-2
          2 days ago

          I don’t really recommend people learn vi/vim even though I’ve been using it for years and love it. It’s a very personal thing and the time you invest into learning it might not be worth it if you don’t use its features enough.

          I think it’s dependent on your personality and neurodivergence/neurotypical characteristics (I don’t know a word that encompasses all of this). If you’re the type of person who gets really annoyed/distracted by any sort of “friction” in the editing process then I think you may be a good candidate to learn vi. Otherwise probably not!

          Edit: by the way I’m also a LaTeX user!

          • siipale@sopuli.xyz
            link
            fedilink
            arrow-up
            1
            ·
            1 day ago

            I sometimes wonder why some programmers don’t use vim. Aren’t they lazy enough to be bothered about unnecessary work and “friction” you have to deal with when using ordinary editors. I’d rather do the interesting parts of the job and command the computer to do the rest. Of course the communication with the computer has to be as concise, as effortless, and as easy as possible.

            • Lv_InSaNe_vL@lemmy.world
              link
              fedilink
              arrow-up
              1
              ·
              edit-2
              23 hours ago

              For me (sysadmin actually) it’s because what I’m doing is either simple enough that I can use Nano (editing simple config files) or complicated enough that I’ll want a full fledged IDE. I use VSCode and it handles remote files really really well.

              Although I have learned a little bit of Vi/Vim because sometimes thats all you have.

              Plus if you’re doing major changes (like more than editing a line or two) you shouldn’t be doing that on a production server anyways. Like if I found out an engineer or dev was primarily working directly off of the server they would probably be on their way out the door. Uptime is worth way too much for that nonsense.

  • F04118F@feddit.nl
    link
    fedilink
    arrow-up
    38
    arrow-down
    10
    ·
    2 days ago

    Do you mean Neovim?

    Surely you aren’t comparing a flat text editor to an IDE that has language server support, debuggers and refactoring tools?

    • Tuxman@sh.itjust.works
      link
      fedilink
      arrow-up
      9
      ·
      2 days ago

      Ah! I loved using Doom EMacs for a while!

      … but alas I came back to my initial love with Neovim 😜

    • supersquirrel@sopuli.xyz
      link
      fedilink
      arrow-up
      4
      ·
      2 days ago

      Yeah, this is the best solution at the end of the day for most would be text wizards, emacs is beautiful, vim keybindings are beautiful.

    • Peck@lemmy.world
      link
      fedilink
      arrow-up
      7
      ·
      edit-2
      1 day ago

      So kind of off topic. Like 15 years ago emacs vs vim split in engineering was like 50-50. Now I see more like like 90-10 with vim winning. What happened? I always assumed they are equivalent more or less.

      • AnUnusualRelic@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 day ago

        Emacs has scripts that can do almost anything. If you wanted to, you could pretty much replace your graphical desktop with Emacs and still do pretty much everything you do. vi is an editor.

      • WalnutLum@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        1 day ago

        There’s been a lot more evangelism about emacs lately.

        Also the fact emacs has doom and spacemacs to ease new users in while vim drops you into : and tells you to swim means that it’s easier for emacs to get new users.

  • fusiono@feddit.uk
    link
    fedilink
    arrow-up
    11
    ·
    24 hours ago

    You will be tempted to think that by learning how to use (neo)VIM your coding skills will magically improve tenfold.

    It won’t

    • moseschrute@lemmy.world
      link
      fedilink
      arrow-up
      8
      ·
      21 hours ago

      Wait really? Shit I’m like 1 year into learning vim. What editor should I switch to that will magically make me a good coder?

      • Sauerkraut@discuss.tchncs.de
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        19 hours ago

        Jokes aside, all of my favorite IDEs have an option to use VIM key bindings so learning VIM makes it easier to learn other IDEs.

        That alone was enough to convince me to learn VIM