Hi everyone :)

I’m slowly getting used on how to navigate and edit things in the terminal without leaving the keyboard and arrow keys. I’m getting faster and It improved my workflow in the terminal (Yeahhii).

ctrl + a e f b u k ...
alt + f b d ...

But yesterday I had such a bad experience while editing a backup bash script with nano. It took me like an hour to completely edit small changes like a caveman and always broke the editor when I used memory reflex terminal shortcuts.

This really pissed me… I know nano also has minimal/limited shortcuts but having to memorize and switch between different one for different purpose seems like a waste of time.

I think I tried emacs a few month ago but It didn’t clicked. I didn’t spend enough time though, tried it for a few minutes and deleted it afterwards. Maybe I should give it a second try?

I also gave Vim a try, but that session is still open and can’t exit (😂 )! Vim seems rather to complex for my workflow, I’m just a self-taught poweruser making his way through linux. Am I wrong?

Isn’t there something more “universal” ? That works everywhere I go the same? Something portable, so I can use it everywhere I go?

I’m very interested in everyone’s thought, insight, personal experience and tip/tricks to avoid what happened yesterday !

Thanks !

  • tubbadu
    link
    811 months ago

    MICRO! It’s shortcuts are the same as any “gui” editor, so ctrl+S to save, ctrl+Q to quit, ctrl-C to copy etc, and also has an awesome mouse support (you don’t have to use the Mouse, but if sometimes you do, it works). It’s the first thing I install on new systems, give it a try ;)

    • @N0x0n@lemmy.mlOP
      link
      fedilink
      311 months ago

      Heyy ! Thank you! I installed it right away and it seems exactly something I had in mind ! Plus point, it’s written in GO and their documentation seems on point !

      Do you think it makes sens to “sync” the shortcuts between micro and the terminal? I mean, changing ctrl+e and ctrl+a in micro to have the same behavior as in my bash terminal? Or does your brain just switch between them and you always now when to use what shortcut?

      Hope it makes sense and you somehow understand what I’m trying to achieve/explain.

      Thanks again !