Download Installing and Starting Emacs
Transcript
The Theory of Movement Isearch is so useful that I strongly encourage you to use it for movement as it is one of the quickest ways of moving around text in Emacs. It is also one of my most used commands. I use it hundreds of times a day, if not more. It takes a bit of practice to commit the Isearch behavior to muscle memory but it is so worth it! It has two accessible keys – C-s and C-r – and it is visual and instantaneous. There are no distractions and no ceremony, no modal dialog that pops up and obscures your buffer, no fiddly radio buttons to change the search direction, no mouse needed and no tabbing required to operate it either. Case folding By default, Isearches are not case sensitive; lowercase searches will match uppercase and mixed case. However, when you use one or more uppercase letters in your search, Emacs will automatically switch to a case-sensitive search. It’s called case folding. This is another one of those strange Emacs features that nobody would think to implement elsewhere. It’s also more useful than you would think. You might be looking for an uppercase string, but your search string doesn’t have to be. And if you really need case-sensitivity, all you have to do is spell out the uppercase or mixed case name and Emacs will only look for literal matches. Of course, if you are looking for only lowercase matches but no upper- or mixed case matches, then you have no choice but to