Better backspace during isearch20 Apr 2015, by Artur Malabarba.
Emacs.SE Lessons post series
I’ve never been too pleased with the default behaviour of Backspace during
isearch. If the last key you hit was C-s, then it does the same as C-r
(albeit with less repetition), and if your match failed several characters ago,
you need to hit it that many times to get back on track. Fortunately, asmeurer
took the time to phrase this problem I barely realised I had.
In response, Drew provides a command to:
- delete the entire portion of
isearchstring that doesn’t match,
- if everything matches, fallback on deleting last char instead of moving backwards.