Your message dated Tue, 13 Jun 2006 09:00:35 -0400 with message-id <[EMAIL PROTECTED]> has caused the Debian Bug report #372174, regarding fish: add more emacs keybindings to be marked as having been forwarded to the upstream software author(s) Axel Liljencrantz <[EMAIL PROTECTED]>.
(NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database)
--- Begin Message ---On Thu, Jun 08, 2006 at 01:19:34PM -0400, Mike O'Connor wrote: > below is a patch which futher expands the emacs-style keybindings in > fish to include more cursor movement commands. > > thanks, > stew > > ------------------ > diff -ru fish-1.21.7.orig/input.c fish-1.21.7/input.c --- fish-1.21.7.orig/input.c 2006-06-08 13:15:57.000000000 -0400 +++ fish-1.21.7/input.c 2006-06-08 13:16:36.000000000 -0400 @@ -1270,7 +1270,14 @@ 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"\\C-p"), L"Control-p", L"history-search-backward" ); + add_escaped_mapping( L"emacs", (L"\\C-n"), L"Control-n", L"history-search-forward" ); + add_escaped_mapping( L"emacs", (L"\\C-f"), L"Control-f", L"forward-char" ); + add_escaped_mapping( L"emacs", (L"\\C-b"), L"Control-b", L"backward-char" ); add_escaped_mapping( L"emacs", (L"\e\x7f"), L"Alt-backspace", L"backward-kill-word" ); + add_escaped_mapping( L"emacs", (L"\eb"), L"Alt-b", L"backward-word" ); + add_escaped_mapping( L"emacs", (L"\ef"), L"Alt-f", L"forward-word" ); + add_escaped_mapping( L"emacs", (L"\ed"), L"Alt-d", L"forward-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" ); }
signature.asc
Description: Digital signature
--- End Message ---