- From a protestant perspective why didn't the Apostles address the problem of deutrocanonical books?
- “apprêts”: what does it mean here?
- Calculating original coordinates
- Private Information Retrieval and Writing at the same time possible?
- 3DES with 3 independent keys and EEE mode
- Strictly, is length(key) >= length(message) wrong for one time pads?
- How to go from Ataturk domestic terminal on arrival level to Ataturk international terminal on departure level?
- When to repot vegetables into normal earth?
- What is this (fungus?) on my fruit trees, and should I treat it?
- Aristotle's categories, Kant's categories, and Mathematical categories
- How does adding んで to verb stem change it
- How is the long O sound pronounced when followed by を?
- Confusion with へ in a sentence
- Is the meaning of this phase correct?
- Meaning of in vorauseilendem Gehorsam and exorzieren?
- What does “die Augen aufschlugen” mean?
- What is the correct emotion to feel upon hearing about enemy civilian casualties?
- Is Tosafos correct about unique phraseology for specific amoraim?
- PTIJ: whats the diffrence
- How will the Buddhists, Hindus, Jains, Sikhs, etc come to recognize the G-d of Israel when the Messiah comes
Is there a better method for find and replace in Vim?
Edit: I accidentally asked this over on SO first. Moving here...
I'd like to optimize my "find and replace" workflow in Vim. It's something I do often, as I'm sure most of you do too. Usually something along the lines of -- copy a block and change the name of a variable in a few places. I know, I know, that probably triggers your "why are you copying and pasting code" reflex, but let's not go down that road... There are plenty of valid use cases :)
I'm well aware of the search and replace commands: :s or :%s but I don't like them. It forces me to type out both the full variable name I'm searching for and what I'm changing it to. Maybe there is a better way fix the the amount of typing with :%s? I often use long descriptive variable names, so that is really a deal breaker for me. I also don't like how typing out a variable name from scratch is typo prone and can consume time and brainpower hunting down typos. I much prefer typing it once, and then copying and pasting to