mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-30 22:51:36 +08:00
Add more mappings for Alt-arrowkyes
darcs-hash:20051012104510-ac50b-8553925e3cda58551a885c664a0a61fabadfe0a6.gz
This commit is contained in:
parent
c4b44cbfcd
commit
c8734fff83
4
input.c
4
input.c
|
@ -1171,6 +1171,8 @@ static void add_common_bindings()
|
|||
|
||||
add_mapping( name[i], L"\e\eOC", L"Alt-Right", L"nextd-or-forward-word" );
|
||||
add_mapping( name[i], L"\e\eOD", L"Alt-Left", L"prevd-or-backward-word" );
|
||||
add_mapping( name[i], L"\e\e[C", L"Alt-Right", L"nextd-or-forward-word" );
|
||||
add_mapping( name[i], L"\e\e[D", L"Alt-Left", L"prevd-or-backward-word" );
|
||||
add_mapping( name[i], L"\eO3C", L"Alt-Right", L"nextd-or-forward-word" );
|
||||
add_mapping( name[i], L"\eO3D", L"Alt-Left", L"prevd-or-backward-word" );
|
||||
add_mapping( name[i], L"\e[3C", L"Alt-Right", L"nextd-or-forward-word" );
|
||||
|
@ -1180,6 +1182,8 @@ static void add_common_bindings()
|
|||
|
||||
add_mapping( name[i], L"\e\eOA", L"Alt-Up", L"history-token-search-backward" );
|
||||
add_mapping( name[i], L"\e\eOB", L"Alt-Down", L"history-token-search-forward" );
|
||||
add_mapping( name[i], L"\e\e[A", L"Alt-Up", L"history-token-search-backward" );
|
||||
add_mapping( name[i], L"\e\e[B", L"Alt-Down", L"history-token-search-forward" );
|
||||
add_mapping( name[i], L"\eO3A", L"Alt-Up", L"history-token-search-backward" );
|
||||
add_mapping( name[i], L"\eO3B", L"Alt-Down", L"history-token-search-forward" );
|
||||
add_mapping( name[i], L"\e[3A", L"Alt-Up", L"history-token-search-backward" );
|
||||
|
|
Loading…
Reference in New Issue
Block a user