[gtksourceview/wip/chergert/vim: 307/363] include keypad arrows




commit 3a91ca730a3503b352dabe2555b5078f4e89a676
Author: Christian Hergert <chergert redhat com>
Date:   Fri Nov 5 08:55:32 2021 -0700

    include keypad arrows

 gtksourceview/vim/gtk-source-vim-command-bar.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/gtksourceview/vim/gtk-source-vim-command-bar.c b/gtksourceview/vim/gtk-source-vim-command-bar.c
index 57abedb9..3d7ccb8b 100644
--- a/gtksourceview/vim/gtk-source-vim-command-bar.c
+++ b/gtksourceview/vim/gtk-source-vim-command-bar.c
@@ -155,10 +155,12 @@ gtk_source_vim_command_bar_handle_keypress (GtkSourceVimState *state,
                        break;
 
                case GDK_KEY_Up:
+               case GDK_KEY_KP_Up:
                        move_history (self, -1);
                        break;
 
                case GDK_KEY_Down:
+               case GDK_KEY_KP_Down:
                        move_history (self, 1);
                        break;
 


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