Find and Replace

Ref: https://harttle.land/2016/08/08/vim-search-in-file.html

Find

Normal mode, input / to begin search. n to find the next, N to find the previous.

add \c for case insensitive, \C for case sensitive

1
/foo\c

will fin all “foo”, “Foo”, “FOO”

Navigation

Jump

Normal mode, n is the the No. of line

(1)ngg / nG

(2)**:n** and Enter

(3)vim +n filename while opening file

Ctrl + g to check current line info