I’ve tried vim on and off during college but never really had the time to fully get working with it. As it turns out the stress of two degrees is not conducive to “fun activities”. Now that I have a real job ™️, I’ve decided to finally try and use it this week full stop and I genuinely feel like a programming chad. There’s still a lot I’ll need to learn and probably overtime I’ll discover some inefficiency in how I’m using it now but it really does just feel good. I understand the hype now.

  • marlowe221@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 day ago

    You probably already know this, but most IDEs have a setting to enable Vim keybinds or you can easily install an extension to add them.

    I really like Neovim but my job often requires some stuff that it doesn’t easily do. So, VSCode is what I use a lot of the time… with the Vim extension.

    Just something to consider if your stack isn’t super well supported in Vim/Neovim or you need tools it doesn’t have for your work.

    • msage@programming.dev
      link
      fedilink
      arrow-up
      11
      arrow-down
      1
      ·
      1 day ago

      I tried vim keybinds in an IDE, and it sucked.

      It wasn’t even that advanced usage, but it just didn’t work.

      Instead I know run language servers in neovim.

        • msage@programming.dev
          link
          fedilink
          arrow-up
          1
          ·
          15 hours ago

          Keybindings are OK, but anything beyond movement was way less ok.

          Don’t remember if macros or buffers were implemented correctly.

          • witness_me@lemmy.ml
            link
            fedilink
            arrow-up
            1
            ·
            15 hours ago

            Buffers do work in IntelliJ. Not sure about macros since I don’t use them. Haven’t checked VSCode. I found the IntelliJ plugin was better though.

      • Markuso213@piefed.social
        link
        fedilink
        English
        arrow-up
        2
        ·
        17 hours ago

        I agree with you. I figure you probably know this, but VS Code can act as a frontend for Neovim, providing one-to-one Neovim keybindings.

        Some parts I never got working, but movement was honestly flawless. But I use a lot of snippets with ultisnips, and I didn’t like the idea of translating all of that to hypersnips (or whatever the VS Code equivalent was called), so I stuck with Neovim.

        • msage@programming.dev
          link
          fedilink
          arrow-up
          1
          ·
          15 hours ago

          Movement is like 20% of why vim is amazing.

          Without macros I’m already out, registers are also mandatory, marks are very nice to have, etc.

          I have trouble even remembering what are some of the features called, it’s just musle memory now.

        • expr@programming.dev
          link
          fedilink
          arrow-up
          3
          ·
          16 hours ago

          Most of vim is not emulated. It’s very surface-level and limited. The closest is evil mode for emacs, which is decent, but still lacks a fair bit. The emulators in Intellij and VsCode are paltry in comparison to what vim can do.