How to Delete Lines and Undo Changes using vi
DeletingaLine.Todeletealine,positionthecursoranywhereonthelineandtypedd.Thelineandthespaceitoccupiedareremoved.,DeleteaRangeofLines.Todeletearangeoflines,useEsctoswitchtonormalmodeinVimandrunthefollowingcommand::[from],[to]d,PressEsccometocommand...。參考影片的文章的如下: