-
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.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
This has one huge shortcoming: when the next match is off-screen, pressing . jumps immediately to the next match and replaces it, before you had the opportunity to review whether you want that.
To solve this I wrote a little plugin (that I finished as a plugin yesterday and uploaded just now): https://github.com/orlp/vim-quick-replace
The nice thing is that it always jumps to the next match before replacing, and if you choose to replace the current match it immediately jumps to the next one. And you can start in two ways: using the current word under the cursor or the current visual selection, so it's very flexible.
To see it in action: https://i.imgur.com/wEX6O1w.mp4
which lets me do things like "make | cbuf" or "git grep -n foo | cbuf", which is great.
Tangentially, all of this plays well with some things I've built out for dealing with diffs (https://github.com/dlthomas/diff-kit) - dklocs will turn a unified diff into location-prefixed changed lines, dkcov will find the intersection of a diff and a coverage report (very useful for answering the question "how did I break that test?"), either of which can be piped right into cbuf.
gx is cool, but seems broken on mac at the moment: https://github.com/vim/vim/issues/4738
I used vim-surround for a long time, but I prefer vim-sandwich now: https://github.com/machakann/vim-sandwich