4 ms·
> Do people genuinely run into cases where they frequently have to be hitting 3+ keys simultaneously to use Emacs? Paredit mode has several useful ones for wri
by meken 8y ago
> Do people genuinely run into cases where they frequently have to be hitting 3+ keys simultaneously to use Emacs?
Paredit mode has several useful ones for writing elisp.
- C-M-f, C-M-b, and C-M-u (forward-sexp, back-sexp, and up-sexp)
- C-( and C-) (barf and slurp commands)
- C-M-k (kill-sexp)
M-: (eval-expression in the minibuffer) is also a frequent command for me.
I've overlaid several keys in the number row with Control and Alt, so they are nice to press with my middle and ring fingers (as opposed to pinkies). I've been meaning to write a blog post about this.
- deleted 8y ago[deleted]
- omaranto 8y agoOnly barf and slurp are paredit commands, the others you mentioned (the sexp motion and killing commands) are stock Emacs! (Well, by default C-M-u is bound to backward-up-list, either that's what you meant or paredit really defines a slightly different up-sexp commands. I don't remember right now.) The worst command I regularly use, in terms of number of modifiers, is definitely C-M-% for query-replace-regexp.