Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
coc.nvim
Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
-
writable_search.vim
Grep for something, then write the original files directly through the search results.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
You can try this plugin https://github.com/dyng/ctrlsf.vim . It provides something similar to what you explained, but you need to scope it manually if you want it only for current buffer.
replacer.nvim does pretty much that: https://github.com/gabrielpoca/replacer.nvim
Some plugins combine these concepts such as https://github.com/stefandtw/quickfix-reflector.vim
coc.nvim offers :CocSearch
A few plugins have been mentioned, the native :cdo operation is also a good way to do it. My plugin writable_search provides a grep with some more context (and can be opened from a quickfix window)