Alt-backspace is now a synonym for Control-w in emacs mode keybindings. Atl least on terminals with a simple Alt-backspace

darcs-hash:20060112145346-ac50b-3ec5f9517614a9b1cdf4e8e0ba7222b83347f436.gz
This commit is contained in:
axel 2006-01-13 00:53:46 +10:00
parent 16cb9dfa05
commit 6b91433881

View File

@ -1241,6 +1241,7 @@ static void add_emacs_bindings()
add_escaped_mapping( L"emacs", (L"\\C-h"), L"Control-h", L"backward-delete-char" );
add_escaped_mapping( L"emacs", (L"\\C-e"), L"Control-e", L"end-of-line" );
add_escaped_mapping( L"emacs", (L"\\C-w"), L"Control-w", L"backward-kill-word" );
add_escaped_mapping( L"emacs", (L"\e\x7f"), L"Alt-backspace", L"backward-kill-word" );
add_terminfo_mapping( L"emacs", (key_ppage), L"Page Up", L"beginning-of-history" );
add_terminfo_mapping( L"emacs", (key_npage), L"Page Down", L"end-of-history" );
}