dd
dd will delete the entire line, regardless of the position of your cursor.
If you wish to paste the deleted line, press p or P.
You can give this command a count. For example if you want to delete the next three lines
use 3dd
dd will delete the entire line, regardless of the position of your cursor.
If you wish to paste the deleted line, press p or P.
You can give this command a count. For example if you want to delete the next three lines
use 3dd