3 ms·
After years of using Emacs, I only just discovered that incremental search works within the ordinary find-file (C-x C-f) function. Try it: C-x C-f, then C-r, an
by gcv 17y ago
After years of using Emacs, I only just discovered that incremental search works within the ordinary find-file (C-x C-f) function. Try it: C-x C-f, then C-r, and search for a piece of a filename you opened in the recent past. Try C-M-r, and it works with regexes, too.
- drewr 17y agoIs this Emacs 23-only? I don't get that behavior with 22.3.2.
- gcv 17y agoPossibly. I didn't find this trick until recently, and I switched to Emacs 23 pretty much right after it came out.
- DavidSJ 17y agoI think you mean M-R to search previous input. This works for just about any interactive input.
- gcv 17y agoNo, I mean reverse incremental search. M-r doesn't show matches as you type (at least not with Emacs 23 and my setup), but C-r does.
- ams6110 17y agoiswitchb-mode is a cool little thing I recently discovered. I somehow enabled it accidentally, was puzzled for a moment until I realized what it was doing, and now I love it.
- zck 17y agoIf you like iswitchb-mode, try out ido-mode (http://www.emacswiki.org/emacs/InteractivelyDoThings http://www.emacswiki.org/emacs/InteractivelyDoThings). It's like iswitchb-mode, but it also works with C-x C-f. I assume it does more than that, but I haven't looked specifically for the differences. I don't think you should have both of them, though.