How to move in the CLI / readline shortcuts. Perfect flashcard format, courtesy of Clément Chastagnol at https://clementc.github.io/blog/2018/01/25/moving_cli/
@rixx Pretty 😺
@rixx Is this bash-specific?
Also available for fish
@rixx unless you have set up vi-like commandline editing. :-)
@rixx Énorme ! Merci.
@rixx Emacs power !
@obrow Sword or pistol? No, just kidding!
Nice to see it has similarities with #emacs navigations. It'll be easier for me to remember.
@redstarfish This isn't so much shells at it is GNU Readline's Emacs mode, so that's quite natural. 👍
@rixx Why in hell would anyone use Ctrl+B & Ctrl+F when you have the arrow keys, I wonder.
Same goes for Ctrl+A & Ctrl+E when there's Home & End.
Alt modifier triggers my terminal emulator's menu so they're no use to me.
Actually only the erasing proved to be useful, but I guess that's worth a repost.
@Naughtylus When people don't ask "Why" but "Why in hell", I never can really credit their curiosity …
The answer is hand movement: at least in my current keyboard layout, arrow keys (and home and end) are not in a comfortable position and require me to move my right hand. I usually don't move my hands in my workflows.
@rixx The answer came to me as I was typing it, I was just to lazy to edit it a second time. I put the arrow keys in a very accessible position on my keyboard, so I tend to forget how painful they are to get to on a common keyboard.
chaos.social – a Fediverse instance for & by the Chaos community