# HG changeset patch # User Teemu Piippo # Date 1452473369 -7200 # Node ID ae284bf1b5ff73afc3b82b8dc91ff9741f567fd0 # Parent 39e05a6ba8d7101f70ce65160e881dffa991588a Added support for alt+backspace, which removes the previous word diff -r 39e05a6ba8d7 -r ae284bf1b5ff sources/interface.cpp --- a/sources/interface.cpp Mon Jan 11 02:42:34 2016 +0200 +++ b/sources/interface.cpp Mon Jan 11 02:49:29 2016 +0200 @@ -873,6 +873,11 @@ // readline alt-d - delete from here till next word boundary yank (CursorPosition, find_next_word()); break; + + case KEY_BACKSPACE: // alt+backspace, remove previous word + case '\b': + yank (find_previous_word(), CursorPosition); + break; } } else