Cdelete

Key

CTRL+G

Cdelete

Deletes the previous character, excluding line breaks. If the cursor is in column 1, Cdelete moves the cursor to the end of the previous line.

In insert mode, Cdelete deletes the previous character, reducing the line length by 1.

In overtype mode, Cdelete deletes the previous character and replaces it with a space character. If the cursor is beyond the end of the line, the cursor moves to the immediate right of the last character on the line.

Emacscdel is similar to Cdelete. However, in insert mode, Emacscdel deletes line breaks; in overtype mode beyond the end of the line, it does not automatically move to the end of the line.

Returns

TrueCursor moved.

FalseCursor not moved.

See

Delete, Emacscdel, Ldelete, Sdelete