Learning Neovim > 4: Search & Replace

Neovim’s search and replace capabilities are powerful once you know the commands. This article covers basic search, incremental search settings, and running external commands. Search Key Action / Search forward ? Search backward n Jump to next match (downward) N Jump to previous match (upward) Enter Confirm and lock on that line after search Type /searchterm and press Enter. Use n / N to cycle through matches. Incremental Search Settings These Ex commands tweak search behaviour and can be added to your init.lua/init.vim: ...

January 1, 2020 · 2 min · 223 words