Workflows
Find in current file
/
command- Options to set to make this work better
Find in project
- Telescope
Move the rest to editing note? Is the finding or replacing aspect the primary theme?
Find and replace in file
:%s/before/after/gc
- Reference vim help command for before/after syntax and flags
Replace symbol
- When renaming a symbol, don’t rely on test pattern matching
- Leverage LSP to intelligently rename all occurrences that symbol instead
- TODO: define symbol
Telescope -> Quickfix list
- Find occurrences you’re looking for using telescope
- Send results to quickfix list
:cdo s/before/after/gc | update
Spectre
- Omit this option?
- Any benefits?
Research
- My blog post about this?
Navigating Files
- 📺 Vim File Navigation • ThePrimeagen
Searching
- 📺 Vim "g" Command: The Good Spot!!! • ThePrimeagen
- 📺 My Vim Workflow - Solving a bug • ThePrimeagen
- ✍️ How to find a Word in Vim or vi text editor • nixCraft
- ✍️ The quickfix and location lists in Vim • Ayooluwa Isaiah