I know you didn't ask this, but one thing learning emacs (unexpectedly) improved for me was manipulating a command line. Before I learned emacs keybindings I used to move the cursor and navigate history using the cursor keys because I didn't know any better. It was something of a lightbulb moment when I realised I could use backward-word
, move-beginning-of-line
and backward-kill-word
(which I have always bound to C-w
, as Stevey suggests) in bash
(M-t
is often useful too, and most impressive to those who've never seen it before).
I do quite a lot of work on Solaris, where the root shell is "the posix shell", and does not have emacs bindings by default. I find that my fingers now type exec bash
of their own accord, every time I log in, so much faster do I feel with the now-familiar editing commands under my fingers.
Must admit though, I still find Knuth's books hard going (though worth it) - so I don't think it's magically improved my programming.