• oldfart@lemm.ee
    link
    fedilink
    arrow-up
    11
    ·
    1 year ago

    Vim is so good on mobile! I never understood its odd shortcuts (hjkl, for example) until I got to use it on a crippled mobile keyboard.

    • DreamButt@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 year ago

      Vim’s keybinding makes more sense if you look at older keyboard layouts. For instance the escape key use to be near the area we keep the caps lock key now, for a lot of models.

    • XTornado@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      1 year ago

      For a second I thought you were joking… but I guess the lack of arrows makes sense that you would like hjkl.

      • oldfart@lemm.ee
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        I wasn’t expecting it to be more convenient than native editors but it just was… At least for my fat fingers

    • SaltyIceteaMaker@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      1 year ago

      The reason for the hjkl thing is that the keyboard of vim’s (maybe it was vi’s idk) developer had no separate arrow key’s but rather had said arrow keys printed on hjkl.

      Something like that:

      H← J↑ K↓ L→

  • JetpackJackson@feddit.de
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    Can it use plugins like on neovim? I’ve had it installed for a bit but I’ve only used a default configuration so far

      • JetpackJackson@feddit.de
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Oh, I keep hearing about termux but on my Fdroid it says it hasn’t been updated in 2 years. Is it safe to use?

        • Euphoma@lemmy.ml
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 year ago

          Yeah that seems about right, there hasn’t been a new release since January of 2022. If you check the github, its still getting commits, but they aren’t in an actual release yet.

          • JetpackJackson@feddit.de
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            Ah ok, makes sense. I guess I’ll install it and play around with it! I mean, there are worse things to get distracted by lol…

      • burgersc12@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        1
        ·
        1 year ago

        Do i dare ask why? I just want a basic text editor i don’t have to fight with to exit. I want to type, save, and exit, and maybe not in that order.

        • ebits21@lemmy.ca
          link
          fedilink
          English
          arrow-up
          17
          ·
          1 year ago

          So you want something like Nano.

          Vim is great for more complicated documents and programming because the modes allow you to fly around the document much faster. It’s not very useful unless you put the time into learning how to use it… and it’s not worth it for simple things imo.

          I use it to write work reports. It’s much faster for many things: one example I type dap and bam a whole paragraph is deleted, d5w and the next 5 words are deleted. I use snippets to compete reports like fill in the blanks (I have hundreds of snippets, I hit rpt then tab and a whole report skeleton is generated). Annoying long patient name? I hit CTRL-N and it fills out the name with only a few characters.

          Vim is actually just amazing for this kind of stuff.

        • fraydabson@sopuli.xyz
          link
          fedilink
          English
          arrow-up
          5
          ·
          1 year ago

          As someone who has been lightly using Linux for years but recently gotten more into it. I’ve always only ever used nano. But now I’m so into vim that when a program opens a config in nano I get confused when I can’t quit with :wq

        • thedeadwalking4242@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          1 year ago

          You don’t have to fight to exit in vim or save it’s 3 essential commands and I use nothing else :q, :wq, or just w it’s not that hard

          • burgersc12@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            1
            arrow-down
            1
            ·
            1 year ago

            Sorry, but i forgot to hit escape, now I need to figure out how to exit it without being able to easily type man vim because I got stuck in Vim again… I got sick of it, ctrl-x/s/q or whatever is much easier imo

              • burgersc12@sh.itjust.works
                link
                fedilink
                English
                arrow-up
                1
                ·
                1 year ago

                And i have to memorize what : w q ! each do because I will use them all at some point. And i have to get used to all of this because?? Vim is slightly better for other people?? Fuck outta here, I’m sticking with nano/micro/whatever else is better than vim