Deleting words and lines

Press the ESC key to enter command mode before using these commands.

To delete                       Do this

current word dw previous word db entire line dd to end of line d$ to start of line d0 (zero) next n lines ndd

[Home] [Search] [Index] This site maintained by webmaster@deslab.mit.edu