> " " C-b C-y C-a C-SPC C-e M-( info C-a C-k C-/
Ohh emacs. lol
> " " C-b C-y C-a C-SPC C-e M-( info C-a C-k C-/
Ohh emacs. lol
On the other hand, nobody bothers writing out the equivalent in VSCode or another conventional editor because it's so much worse:
"" <left> <Ctrl+V> <Ctrl+left> <hold shift> <Ctrl+right> <release shift> <Ctrl+C> <wrap-selection-in-parens-command(?)> info <Ctrl+left> <hold shift> <right> <release shift> <Ctrl+X> yypi(info "<esc>A")<esc>dd
in vim, which imo is roughly as ugly, but like others are saying, it's all muscle memory and thus doesn't break flow state.> Ohh emacs. lol
This may seem like a lot of work but at least for me this is all muscle memory, so I happen to type them without even realising what I am typing.
It is sort of like playing the piano. When you play your favourite song on the piano, you don’t think of the keys you are pressing. It is all muscle memory. You just let your brain and fingers do the work and your conscious being can simply enjoy the music. It’s like that with Emacs too!
Also, since this is Emacs we are talking about, of course we have a simpler alternative that involves only a couple of keystrokes: C-0 c. This is discussed in the next section of the post.
I saw it and said: ooh, what's that, looks intense? And then I actually looked at the first couple and went ooooh, type in double quotes, jump back and paste (C-a then C-y), select the whole thing (C-a C-SPC C-e), etc etc till the end. Except without really "saying anything" in my head, cos it's just muscle memory, you do it all the time, it's like walking.
C-0 c
to get the same result.