Commits

Leon Winter  committed 08aeb19

added gh gome home keybinding

  • Participants
  • Parent commits ec4f1e8

Comments (0)

Files changed (1)

                     webkit_web_view_move_cursor (web_view, GTK_MOVEMENT_BUFFER_ENDS, 1);
                     break;
                 case GDK_h:
-                    do webkit_web_view_move_cursor (web_view, GTK_MOVEMENT_VISUAL_POSITIONS, -1);
-                    while(--count > 0);
+                    if(modkey == GDK_g)
+                        webkit_web_view_load_uri (web_view, STARTPAGE);
+                    else
+                        do webkit_web_view_move_cursor (web_view, GTK_MOVEMENT_VISUAL_POSITIONS, -1);
+                        while(--count > 0);
                     break;
                 case GDK_j:
                     do webkit_web_view_move_cursor (web_view, GTK_MOVEMENT_DISPLAY_LINES, -1);