Use search script froma previous search emacs

40 Views Asked by At

I'm an emacs newbie . I use C-s "text" to search for a text. How do I select from a previous search buffer to research an entry instead of typing it allover again . For instance C-S "text1" C-S "text2" Is there a shortcut to remeber text1 so I dont have to type it again while I search for it ?

1

There are 1 best solutions below

3
Lindydancer On BEST ANSWER

If you press C-s C-s you will search for whatever you searched for the last time.

Using M-p you can walk up in the search history and also edit the search string. Press RET to continue searching.