Learn how to delete the word remaining after deleting the dw character under the current cursor. D $ delete the remaining parts of the row after the cursor. Dd deletes the current row. Ndd deletes the current n rows. For example, 5dd is used to delete the delete commands under five lines of c vim. learn x: delete the character dw under the current cursor. delete the remaining part of the word after the cursor. D $ delete the remaining parts of the row after the cursor. Dd deletes the current row. Ndd deletes the current n rows. For example, if 5dd is used to delete five rows of c, the function is the same as that of d. The difference is that after the delete operation is completed, entering insert mode cc also deletes the current row, then, enter insert mode u to cancel the deletion, or perform other operations such as Ctl + R to cancel the deletion or other operations.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service