• lobut@lemmy.ca
      link
      fedilink
      arrow-up
      7
      ·
      edit-2
      12 hours ago

      I use VS Code mainly and I always want to go to the end of a line and beginning. On Mac it’s like CTRL+E and CTRL+A respectively. On Windows, I was like, I guess I could do Windows Key and arrows but it felt off. Installing Vim bindings on VS Code just fixed this all for me. I love it.

      [edit] for non-VIM users, you can skip words and go-to braces (and delete what’s in them) and highlight within quotes very easily … for function search, the built-in VS Code is really good too. I also have Harpoon installed to hop between files. If it doesn’t appeal to you, then that’s cool too! Whatever keeps you in there. [/edit]

      I’ve tried setting up my own vim stuff and I always bail out because I can’t figure something out. I feel like I need to really sit with it and I’d have the perfect set up for me.

      Lastly, I’ve installed vim for zsh and it’s the best. I can hop all around my terminal and highlight and remove things. It’s so beautiful.

      • Prinz Kasper@feddit.org
        link
        fedilink
        arrow-up
        4
        ·
        13 hours ago

        I use VS Code mainly and I always want to go to the end of a line and beginning.

        Soo… The end key and pos1 key?

        • lobut@lemmy.ca
          link
          fedilink
          arrow-up
          3
          ·
          13 hours ago

          lol yes I understand I know I sound silly. My home/end aren’t typical on my keyboard. It’s like function and stuff, which breaks my flow for something I do so often.

        • kobra@lemmy.zip
          link
          fedilink
          arrow-up
          8
          ·
          13 hours ago

          Apologies for the completely random thought but this is the 2nd time in my life I’ve see “‘tude” written down. first time was in the “I can’t remember” song by Alice In Chains, so you’re in good company haha

        • bss03@infosec.pub
          link
          fedilink
          English
          arrow-up
          4
          ·
          13 hours ago

          Honestly, I don’t like either programmability approach (vimscript/lua OR emacs-lisp), but I’ll probably just stick with neovim, because when I’m on a system without my configuration, I’ve more productive there, and I don’t want to learn enough emacs-lisp “APIs” to reproduce my somewhat small vim configuration.

    • NocturnalMorning@lemmy.world
      link
      fedilink
      arrow-up
      5
      arrow-down
      14
      ·
      14 hours ago

      Because they grew up with it? I cant think of any other reason. I used it in college for a class bcz my old as fuck professor required it. Its obtuse, old, and doesn’t have a lot of functionality of modern code editors.

      The only people who want to use it are people who started with it decades ago, or people who were forced to use it, and now think they’re superior somehow to everyone else who doesn’t use it.

      • johnwicksdog@aussie.zone
        link
        fedilink
        English
        arrow-up
        2
        ·
        6 hours ago

        I was also forced to use it at uni (a few decades ago), but didn’t start using it until professionally until several years into my dev career. I promise that I don’t think I’m superior because I use it. But I do encourage junior developers to learn it for reasons that appealed to me.

        Among other things, appealing things are modal editing (the biggest advantage IMO), it runs on pretty much on any server you will be ssh’ing into, less IDE lock in. And, there’s a bunch of additional things that other editors do that I think Vim does better: regex is first class in the environment, extensible workflows, macros. Then there are definite advantages being able to quickly navigate from the home row.

        I agree that some people will demonstrate their enthusiasm by bragging and being pretentious. But I don’t think that’s why they stick with Vim.

      • Gamma@programming.dev
        cake
        link
        fedilink
        English
        arrow-up
        8
        ·
        edit-2
        12 hours ago

        I don’t fit into any of those categories.

        Its obtuse, old, and doesn’t have a lot of functionality of modern code editors

        Obtuse? Yeah. The keyboard focus means natural discoverability is low. But I immediately preferred modal editing once I learned it.

        Old? Eh, most people use Neovim nowadays and write plugins in lua. Even in OG Vim, Vim9script broke compatibility for a better dev experience.

        Functionality? Out of the box, it is just a text editor. But only VSCode might have a more active plugin ecosystem. ALE has been a thing for ages if it’s LSP support you’re looking for.

        It’s not better, it’s not worse, I’m not in any way superior for using it, but I love it for a reason.

      • Shanmugha@lemmy.world
        link
        fedilink
        arrow-up
        5
        arrow-down
        2
        ·
        10 hours ago

        If you can’t think of a reason, then you could have just asked. Or read a few threads here or somewhere else. But instead you went forward typing your oh so very informed opinion, which itself is a good invitation for “shut up, lousy know-nothing type of human” kind of response. I do hope you’ll do better next time you see a piece of lore and culture you have no clue about

        • NocturnalMorning@lemmy.world
          link
          fedilink
          arrow-up
          1
          arrow-down
          6
          ·
          10 hours ago

          Seems like I struck a chord. I get this same response anytime vim comes up in a thread. Its almost as bad as the linux gatekeeping. Apparently I’m not allowed to have an opinion that differs from the group.

          • Shanmugha@lemmy.world
            link
            fedilink
            arrow-up
            4
            ·
            10 hours ago

            “It sucks because I can’t see why it is even useful” is not an opinion, it is ignorance, and you have already shown it to be a willful one. No wonder you get shat on repeatedly

              • smoker@lemm.ee
                link
                fedilink
                arrow-up
                4
                ·
                edit-2
                8 hours ago

                “I didn’t like it” is an opinion. “Vim is dumb because I can’t think of a reason people would like it, and everyone who uses it is an elitist asshole” is ignorance.

              • Shanmugha@lemmy.world
                link
                fedilink
                arrow-up
                4
                arrow-down
                1
                ·
                9 hours ago

                Nope, that’s not a definition of opinion. And this opinion is leagues away from your original post. If you can’t see this - be my guest, go on making up dreams of " I stuck a chord" and whatever else you are imagining

      • supersquirrel@sopuli.xyz
        link
        fedilink
        arrow-up
        12
        arrow-down
        3
        ·
        14 hours ago

        The only people who want to use it are people who started with it decades ago, or people who were forced to use it, and now think they’re superior somehow to everyone else who doesn’t use it.

        oof now that is a lazy argument, I hope you were being sarcastic!

        • NocturnalMorning@lemmy.world
          link
          fedilink
          arrow-up
          2
          arrow-down
          9
          ·
          13 hours ago

          How is this a lazy argument? Most people dont use Fortran, Cobol, or Assembly anymore for the same reason. There are better alternatives out there.

          • supersquirrel@sopuli.xyz
            link
            fedilink
            arrow-up
            7
            arrow-down
            1
            ·
            13 hours ago

            Vim is a style of keybindings centered around only needing a keyboard, what do programming languages have to do with my point?

          • BassTurd@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            10 hours ago

            I’m not an old hat programmer and have never been forced to use VIM, but I started learning how to navigate because of the potential efficiencies that comes with it, and because I like to learn new things. I’m not good at it, but I’ve gotten a lot better, and I will continue to do so because it’s enjoyable, neovim is extremely customizable, and the vim key bindings can be used in vscode for when I use that. I also use Linux, so it felt like the right direction to go, but mostly for the memes.

            I don’t use it for high level language coding like python, JS, and definitely nothing.net related like c#, but it’s solid for lower level like C.

            You don’t have to enjoy it, but there are some extremely skilled programmers out there that can code laps around other extremely skills programmers just because they use vim/neovim and can navigate at a stupid fast rate. Watching some like the Primeagen on YT is humbling.