Reputation: 556
I'm using emacs in the Linux console.
I would like to be able to use C-DEL
(that is CtrlBackspace) to backwards-kill-word
to have an interface that is consistent with the emacs gui - as well as most other interfaces on various platform.
C-DEL
doesn't work to backwards-kill-word
because the sequence for complicated reasons is interpreted as C-h
as explained in this section of the emacs wiki.
How can I get C-DEL
to delete a word back and maintain the default behaviour (help menu) for C-h
?
Upvotes: 1
Views: 471
Reputation: 556
Seemingly, this can't be fixed by way of configuring emacs but using showkey
, loadkeys
and dumpkeys
to load a custom keymap where Alt+Backspace is bound to Meta_Delete
(just like Ctrl+Backspace is by default) did the trick.
Upvotes: 1