Mon, 11 Jan 2016 02:49:29 +0200
Added support for alt+backspace, which removes the previous word
sources/interface.cpp | file | annotate | diff | comparison | revisions |
--- 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