I’m leaving text editors like vscode/codium behind to learn something more modular, like Helix. I really wanna get used to. What advices can you give me to practice? I know that there is a :tutor command, I’m almost done with it. Do anyone know if there are exercices to practice? Im looking something similar to Ruby koans, a list of excersices to solve like “puzzles” but to Helix.

  • JTskulk@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 months ago

    Damn now you got me trying to get used to it. It’s hard when vim is so ingrained in my habits. And Helix isn’t in the Debian stable repos yet. It does seem faster and better though!

  • kazaika@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    3 months ago

    I’d recommend not trying to learn all the shortcuts as it’s most likely wasted effort. Most people probably dont know the entirety of available moves. Learn the basics to use the editor like, h j k l e w t f g s and start using it. Then whenever you need a ton of keystrokes to get something done, step back and see if there are moves which simplify that. Multiple selections / cursors are also an integral part of using helix so make sure to use em when applicable.

    As a sidenote helix isnt very modular imo. The appeal is that compared to e.g. neovim, it is very much a Monolith with most things you need built in which simplifies usage / configuration greatly.

    I’ll admit that this learning by doing way is prone to adopting half assed solutions but its the only way i know to get comfortable with something quickly

  • Deebster@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    3 months ago

    Not quite what you were asking for, but there is https://tomgroenwoldt.github.io/helix-shortcut-quiz/

    It’s quite good for letting you know about things you didn’t know you could do, but sometimes it tells me I’m wrong because I’d do it a different way - e.g. I’d go to line 13 by :13 but it wants 13G.

    Also, from within Helix you can do space ? to get the list of commands and any bindings they’re on.

    edit: also, FYI Helix and similar are modal, not modular (although there is a plugin system on the way).