2

I search the line containing rowid in the buffer, and want to copy all the lines in the result window. How to do that?

enter image description here

Daniel Wu
  • 95
  • 2

1 Answers1

2

From the swiper search, type C-c C-o

That will open a separate buffer with the search results. From there you can copy whatever you like just like you can from any other buffer.

izkon
  • 1,798
  • 10
  • 23
  • That's very useful, one issue is that in the buffer, it has a begin as the filename in each line. e.g filename:line: myline. But I don't need the repeated filename – Daniel Wu Oct 26 '20 at 06:46
  • I suggest opening a new Emacs Stack Exchange question asking about that. – izkon Oct 29 '20 at 20:34