/
The
Motion
The / command in Vim
Motion
search forward
Search forward — opens a search prompt. Supports regex. After searching,
n jumps to next match, N previous. Use :noh to clear highlights.Examples
/pattern/\<word\>(exact word)/pattern/e(land at end of match):noh(clear highlights)cgn(change next match)
Reference
Learn every Vim command visually — right in your browser.
Add Vim What? to Chrome — FreeAlso on Firefox.
Related motions