diff options
Diffstat (limited to 'xombrero.c')
-rw-r--r-- | xombrero.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xombrero.c b/xombrero.c index 9904abc..669b702 100644 --- a/xombrero.c +++ b/xombrero.c @@ -6640,6 +6640,10 @@ cmd_keypress_cb(GtkEntry *w, GdkEventKey *e, struct tab *t) } } goto done; + case GDK_Home: + if (c[0] == ':' || c[0] == '/' || c[0] == '?') + gtk_editable_set_position(GTK_EDITABLE(w), 1); + goto done; case GDK_BackSpace: if (!(!strcmp(c, ":") || !strcmp(c, "/") || !strcmp(c, "?") || !strcmp(c, ".") || !strcmp(c, ","))) { |