5.5. Deleting Text
- To delete text in Vi, one has to be in command mode.
- To delete a single character, position the cursor on it and press the "
x
" key. - To delete a single line, position the cursor somewhere on it and press "
d
" twice.
x
" key.d
" twice.Written by Shlomi Fish