• Jumuta@sh.itjust.works
      link
      fedilink
      arrow-up
      8
      ·
      1 day ago

      how do you tolerate the 0 and $ to jump to the ends? it’s so painfully inconvenient and made me switch to helix where it’s g->h and g->l. do you not use the default keymap?

          • hinterlufer@lemmy.world
            link
            fedilink
            arrow-up
            5
            ·
            1 day ago

            Most nvim users I know have their setup very much customized. That takes time, effort and is a pita. But afterwards you have a tool that just works like you want it to work, and is super fast (at least compared to VSCode).

            • KeenFlame@feddit.nu
              link
              fedilink
              arrow-up
              2
              ·
              9 hours ago

              I don’t understand why you compare it to vs code, it’s not a text editor and besides, it has vim too?

              • hinterlufer@lemmy.world
                link
                fedilink
                arrow-up
                2
                ·
                8 hours ago

                They’re both code/text editors, or what would you call VSCode instead? An IDE? you can make an IDE out of nvim if you want.

                Yes, there is a vim mode in VSCode, but in some cases it can be very slow (like editing a few thousand columns at once), and is not as tightly integrated.

      • LastYearsIrritant@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        11
        ·
        1 day ago

        Shift-A and Shift-I to append at the end or insert at the start.

        Once you know the system, it’s much easier to do everything without having to take your hands off the keyboard to use a mouse.

      • notabot@lemm.ee
        link
        fedilink
        arrow-up
        4
        ·
        1 day ago

        Muscle memory mostly. I miss vim keybinding when I have to type in anything else, including Lemmy.

      • Petter1@lemm.ee
        link
        fedilink
        arrow-up
        8
        ·
        1 day ago

        Imagine thinking modern IDE are more efficient than vi 😯

        Curser is more intuitive, I agree, but you will never win a code race against similar skilled coder on vi…

          • Petter1@lemm.ee
            link
            fedilink
            arrow-up
            6
            ·
            16 hours ago

            Umm, there are regularly coding race events here where I live…

            Coding can be hobby as well, you know.

            Not all of this world is pure capitalism, some have some free time doing stuff they want how they want.

            Coding is not my profession (right now)

            • NocturnalMorning@lemmy.world
              link
              fedilink
              arrow-up
              1
              ·
              1 hour ago

              Coding is a team sport bcz it takes a lot of people to maintain large complex systems, has nothing to do with capitalism. Hell, I make video games in my spare time, and can barely manage a half asked attempt at a game for fun when working alon (unless I want to spend a lot of time on it). Alternatively, I can make a decently playable game with a few more people helping me. Coding is just a lot of work if you want to make anything substantial, just how it is.