We'll see how to find files based on their name or contents using find, locate, and grep. Using these commands from inside of Emacs has some advantages, especially when you can keep the results open in separate buffers. We'll also look at how to enable extensions that don't have customization hooks.
Commands introduced:
M-x find-dired
M-x locate
C-u M-x locate
M-x rgrep
M-x lgrep
M-w
C-x C-e
M-x eval-region
Extensions introduced:
grep-a-lot
Customizations introduced:
Locate Fcodes File
Grep Find Ignored Directories
Grep Find Ignored Files
Grep Command
All episodes: • .Emacs Tutorials
Follow along on GitHub at https://github.com/jekor/.emacs
Notices and updates on Twitter at @jekor https://twitter.com/jekor
26 Comments