nvim-search-and-replace icon indicating copy to clipboard operation
nvim-search-and-replace copied to clipboard

preview before replace

Open abhijeetbhagat opened this issue 3 years ago • 2 comments
trafficstars

can a feature be added to this plugin that allows for previewing before replacing?

abhijeetbhagat avatar Sep 03 '22 14:09 abhijeetbhagat

You already can do that. For example,

  • Run :SReplace and add the query
  • Run copen to show the quick fix list

You will get all the matching results as below

image

You can also use telescope to quickly jump around. Command is :Telescope quickfix

image

s1n7ax avatar Nov 10 '23 05:11 s1n7ax

I might add a just search feature so people can see the matches. But this plugin will not implement fancy result view what you might see in other editors

s1n7ax avatar Nov 10 '23 05:11 s1n7ax