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.

  • ExLisperA
    link
    fedilink
    arrow-up
    7
    ·
    edit-2
    3 days ago

    Vim is great for editing in general and coding simple things but I kind of gave up on using it as an IDE. Too many plugins to configure, to many breaking changes, too many bugs. My current issue is that after couple hours or days code formatting simply breaks and starts mangling my code. Only full restart fixes the problem. It’s impossible to figure out were the issue is as there are so many plugins and external tools involved. I still think it’s amazing you can setup vim to work as a full IDE with code completion, refactoring, formatting and all but it’s just not stable enough. I reluctantly switched to Zed with vim mode. I miss smooth scrolling but other then that it’s really nice.

    • lepinkainen@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      3 days ago

      I tried nvim with all the bells and whistles and it’s just too fiddly

      Moved to helix instead, it does the light editing I need with LSP support and themes

      • ExLisperA
        link
        fedilink
        arrow-up
        1
        ·
        3 days ago

        I tried helix and it’s nice but it’s still not ready to be an IDE. Too many features missing. And I’m not learning completely new tool just to edit text. Vim is still great for that. Let’s hope it grows and gets all the features eventually.

        • lepinkainen@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          3 days ago

          Yea its definitely not an IDE

          I use it mostly when I need to edit a config file quickly and don’t want to bother with a full IDE or VS Code

  • cosmicrose@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    41
    ·
    4 days ago

    There are always more cool tricks and great plugins out there, have fun!

    Also I’d recommend Neovim, it’s exactly like vim except it supports Lua scripting, so there are lots of powerful plugins that aren’t available on vanilla vim.

    • galaxy_nova@lemmy.worldOP
      link
      fedilink
      arrow-up
      4
      ·
      4 days ago

      I’ll have to try neovim, and eMacs and all the derivatives. Honestly I just went straight to vim first because I wanted to try to OG experience first to see what it was like. I’ve also simultaneously been using vim mode in Zed which has been pretty nice too.

    • expr@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      3 days ago

      It’s not exactly like vim, and there are plenty of vim plugins that don’t work with it (anything vim8 onward). There has never been a 1-to-1 correspondence, the gulf widens as both develop different features with different philosophies.

      The most egregious offense on Neovim’s part that I can’t get past is the removal of access to the shell in which you run vim (via :!, :w !, etc.). Vim is so much more capable of being closely intertwined with the shell, whereas neovim requires everything to be done through terminal buffers (speaking of which, vim’s terminal buffers are a lot better than Neovim’s).

      Also, Lua is really overrated and worse for vim scripting than vim9script (which is both more native to vim and faster).

  • iByteABit@programming.dev
    link
    fedilink
    arrow-up
    3
    ·
    3 days ago

    Helix is really fucking good too, it was really easy to pick up as a VIM user and it’s 99% batteries included. You still have to manually install the LSP for most of the languages, but it makes it really easy for you to do so, just run hx --health <language> and if the LSP is not installed it tells you the name and you can just look up how to install that on your system, which is usually just one command.

    Also it’s written in Rust so added bonus for that 🦀

  • Aurenkin@sh.itjust.works
    link
    fedilink
    arrow-up
    18
    ·
    4 days ago

    I like to say that using Vim turns editing into an optimisation puzzle. That will either sound super fun to you in which case you’ll probably love it or it will sound like a nightmare in which case maybe it’s not for you.

  • lobut@lemmy.ca
    link
    fedilink
    arrow-up
    13
    ·
    4 days ago

    I’ve always liked vim but one thing that I really loved about it was when I started using vim mode in zsh.

    Being able to just navigate through commands in my terminal and easily highlight and edit and all that … it’s so good.

  • CallMeAnAI@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    4 days ago

    Vim is 40 year old garbage.

    If you need to edit files directly on a device go ahead bust it out, but you’re wasting your time decking that shit out with plugins for half the usability of an ide.

  • chasteinsect@programming.dev
    link
    fedilink
    arrow-up
    5
    ·
    4 days ago

    On a related note, try Vimium (FF / chrome extension) that brings vim motions into your browser. You will have a more complete experience.

    • galaxy_nova@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      4 days ago

      Wait that’s awesome. Any chance that there’s a safari extension? I use safari and FF at home since I use both Linux and macOS

      • SlurpingPus@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        3 days ago

        Just FYI, if you just use Firefox in both OSes, you can sync the tabs, history, and extension settings. Though I’ve seen the opinion that Safari works faster, but OTOH extension developers are unhappy with Apple’s publishing/vetting process, and some devs dropped support for Safari that they provided previously.

    • Nate Cox@programming.dev
      link
      fedilink
      English
      arrow-up
      5
      ·
      4 days ago

      I went from vim to Emacs and loved it, right up until I found Helix. My “just trying it out” became “never opened emacs again”.

  • marlowe221@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    4 days 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
      8
      ·
      4 days 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
          ·
          3 days 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
            ·
            3 days 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.

  • SinTan1729@programming.dev
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    4 days ago

    Welcome to the club. Don’t worry too much about setting it up perfectly in your first attempt. You’re gonna rewrite your whole config every year-ish anyway. (Or is that just me? 😥) Also, try Neovim. It’ll be a drop-in replacement for your current config. But Lua is just a superior language compared to Vimscript, so you’ll have a much better performance in the future. You also get all the sweet LSP and treesitter features.