• ExLisperA
    link
    fedilink
    arrow-up
    27
    ·
    5 days ago

    The best thing about Vim is that despite having all the features of a modern IDE it starts in 0.1s and you can start editing right away while the code data is loading asynchronously.

    The worst thing about Vim is that… just kidding, there’s nothing bad about it.

    • andros_rex@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      4 days ago

      People meme about “q!” but it is super helpful to have that extra step, because sometimes your fingers are moving faster than your brain is. That quick switch back-n-forth vim - gcc - ./a.out loop and my probably ADHD mean that vim saying, “hey, remember you haven’t saved this yet” is a godsend.

      You are right about the best part about vim - you can work as fast you type.

    • silverlose@lemm.ee
      link
      fedilink
      English
      arrow-up
      3
      ·
      4 days ago

      It’s a trade off for sure. I think the area editors like Vim totally win in is when you need to ssh into a server and edit something. I think it will always exist because of this use case

  • hamsda@lemm.ee
    link
    fedilink
    arrow-up
    7
    ·
    4 days ago

    vim was such an unimaginable improvement over nano for doing stuff on linux servers. Having an in-shell-editor search-and-replace function alone is worth everything you have to do to learn vim.

    And after I was comfortable around vim because of all the “training” on servers, I just switched to vim fulltime. No more GUI editor for me!

      • hamsda@lemm.ee
        link
        fedilink
        arrow-up
        2
        ·
        4 days ago

        Ha, that would’ve helped me a few times. Good to know!

        Still, I wouldn’t switch vim for nano ever again. nano is a good and easy start, but I think if you do more than just basic editing of a few files every now and then, learning vim is the way to go.

        vim is pretty customizable, widespread and it has been around for quite some time after all. If you think you need it, somebody most likely already made it as a vim-plugin :)

  • LovableSidekick@lemmy.world
    link
    fedilink
    English
    arrow-up
    12
    ·
    edit-2
    5 days ago

    I used to know a developer who wrote all his code in Notepad. This was around 2005 or 6. We had just starting to replace our legacy ASP code with ASP.Net, which he was determined to do in Notepad. I was gone before I could see how that worked out.

  • milicent_bystandr@lemm.ee
    link
    fedilink
    arrow-up
    10
    ·
    5 days ago

    HAHAHAHA I know the secret passcode to escape!

    Incidentally, it’s ctrl+]. But I remap it to ‘kj’, and somehow have never typed ‘blackjack’ in all my years of using Vim!

    • LeninOnAPrayer@lemm.ee
      link
      fedilink
      English
      arrow-up
      5
      ·
      4 days 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.

    • chonglibloodsport@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      5 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.

  • RobertoMorrison@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    5 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.

    • urandom@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      4 days 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

  • stupidcasey@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    5 days ago

    Tbf, how many plants are carnivorous monsters that dissolve your flesh

    And how many animals can melt Rocks into Magic snap Rocks camouflage them and plan months in advanced

    And how many developers can

    export EDITOR=nano export VISUAL=nano