https://linuxize.com/post/vim-delete-line/
- Press the
Esckey to go to normal mode. - Place the cursor on the first line you want to delete.
- Type
5ddand hit Enter to delete the next five lines.
----------------------------------------------------------------
The basic steps to perform a search in Vim are as follows:
- Press
/. - Type the search pattern.
- Press
Enterto perform the search. - Press
nto find the next occurrence orNto find the previous occurrence.