Follow

Vim quicktip #2: A substitution with an empty search pattern replaces matches from the last search. After finding "foo" (`/foo`) in the file, you can replace all occurrences with `:s//bar/`.

Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!