Re: [PATCH] Changing the default <CTRL>-l keybinding for the vi insertion keymap.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




----- Original Message -----
> By default, the clear screen behaviour is only used when not in
> insertion mode. This causes the screen to clear in insertion mode
> instead of just printing a '^L'.
> 
> Signed-off-by: Kyle Walker <kwalker@xxxxxxxxxx>
> ---
>  cmdline.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/cmdline.c b/cmdline.c
> index 226bd20..dd310ed 100644
> --- a/cmdline.c
> +++ b/cmdline.c
> @@ -2059,6 +2059,8 @@ readline_init(void)
>  			vi_insertion_keymap);
>  		rl_bind_key_in_map(CTRL('N'), rl_get_next_history,
>  			vi_insertion_keymap);
> +		rl_bind_key_in_map(CTRL('l'), rl_clear_screen,
> +			vi_insertion_keymap);
>  
>  		rl_generic_bind(ISFUNC, "[A", (char *)rl_get_previous_history,
>  			vi_movement_keymap);
> --
> 2.4.3
> 
> 

Clear enough -- queued for crash-7.1.4:

  https://github.com/crash-utility/crash/commit/34ca7f4e35b1de6c63ce319447b973e02bd5b6c3

Thanks,
  Dave

--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility



[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux