Vim/Neovim
Search Commands
Find and replace text in Vim. Learn search patterns, substitution commands, and regex for powerful text manipulation.
6 commands
Pro Tips
Use '*' to search for the word under cursor, '#' to search backwards.
Use ':%s/old/new/gc' for global replace with confirmation on each match.
Use '\<word\>' for whole word matching in search patterns.
Common Mistakes
Without 'g' flag, :s only replaces the first match on each line.