https://linuxize.com/post/vim-delete-line/
- Press the
Esc
key to go to normal mode. - Place the cursor on the first line you want to delete.
- Type
5dd
and 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
Enter
to perform the search. - Press
n
to find the next occurrence orN
to find the previous occurrence.
No comments:
Post a Comment