aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fastiv.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fastiv.c b/fastiv.c
index 8994a92..21e778f 100644
--- a/fastiv.c
+++ b/fastiv.c
@@ -94,6 +94,7 @@ static struct key_section help_keys[] = {
{"<alt>Left", "Go back in history"},
{"<alt>Right", "Go forward in history"},
{"<alt>Up", "Go to parent directory"},
+ {"<alt>Home", "Go home"},
{"F5 r <control>r", "Refresh"},
{}
}},
@@ -772,6 +773,9 @@ on_key_press(G_GNUC_UNUSED GtkWidget *widget, GdkEventKey *event,
g_free(parent);
}
return TRUE;
+ case GDK_KEY_Home:
+ load_directory(g_get_home_dir());
+ return TRUE;
}
break;
case 0: