4/14/2009 ~ 1 min read

To Much Typing For Regexp Searches


I have been getting better at using the regexp search functions in emacs. Today I got tired of all this typing: M-x search-forward-regexp so I bound it to this in my init file:

(global-set-key (kbd “C-c sfr”) ‘search-forward-regexp)

Of couse I also bound the opposite:

(global-set-key (kbd “C-c sbr”) ‘search-backward-regexp)

I know, I know, how did I get anything done when I had to type out all thise characters before.


Headshot of Matthew Hippely

Hi, I’m Matthew. I live in Ventura County, and spend my time thinking about systems, software, and how things evolve over time.

You can find me on GitHub, LinkedIn, or read more about me here.