What is the command to delete and cut the current line in vi?

What is the command to delete and cut the current line in vi?
Answer
Cutting (Deleting)
Move the cursor to the desired position and press the d key, followed by the movement command. Here are some helpful deleting commands:
dd – Delete (cut) the current line, including the newline character.
 

Tìm kiếm

Back
Top