Skip to main content
Make title consistent in case and with question body
Link

Open Search Resultsearch result in the same bufferwindow

edited body
Source Link
Abraham P
  • 201
  • 1
  • 7

Say I run ag or grep via M-x and display a bufferwindow with search results. Say I then use my enter key to open a result. How can I force emacs to open this result in the same bufferwindow as the search results are currently displaying, rather than a different bufferwindow?

Say I run ag or grep via M-x and display a buffer with search results. Say I then use my enter key to open a result. How can I force emacs to open this result in the same buffer as the search results are currently displaying, rather than a different buffer?

Say I run ag or grep via M-x and display a window with search results. Say I then use my enter key to open a result. How can I force emacs to open this result in the same window as the search results are currently displaying, rather than a different window?

Source Link
Abraham P
  • 201
  • 1
  • 7

Open Search Result in the same buffer

Say I run ag or grep via M-x and display a buffer with search results. Say I then use my enter key to open a result. How can I force emacs to open this result in the same buffer as the search results are currently displaying, rather than a different buffer?