aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNunoSempere <nuno.sempere@protonmail.com>2022-12-13 15:22:49 +0000
committerNunoSempere <nuno.sempere@protonmail.com>2022-12-13 15:22:49 +0000
commitf6119ff7dbabc5b31eee3e9fe9800f964f387214 (patch)
tree2ee7337004a0b23b3d513c5d119312d85525d8fb
parent5e403cad14837cc1482c68b48316fe9861d0d737 (diff)
tweak: Add reference to how to use normal browser controls.
-rw-r--r--config.def.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 03e7fd7..55a1f01 100644
--- a/config.def.h
+++ b/config.def.h
@@ -76,3 +76,25 @@ static struct {
{ CTRL, KEY(n), finder_next },
{ CTRL | SFT, KEY(N), finder_prev }
};
+/* For controls more akin to normal browsers, use:
+{
+ { CTRL, KEY(h), goback },
+ { CTRL, KEY(j), goforward },
+ { CTRL, KEY(r), refresh },
+ { CTRL | SFT, KEY(R), refresh_force },
+ { CTRL | SFT, KEY(H), back_to_home },
+ { CTRL, KEY(equal), zoomin },
+ { CTRL, KEY(minus), zoomout },
+ { CTRL, KEY(0), zoom_reset },
+ { CTRL, KEY(Page_Down), prev_tab },
+ { CTRL, KEY(Page_Up), next_tab },
+ { CTRL, KEY(w), close_tab },
+ { 0x0, KEY(F11), toggle_fullscreen },
+ { CTRL, KEY(l), show_searchbar },
+ { CTRL, KEY(f), show_finder },
+ { CTRL, KEY(n), finder_next },
+ { CTRL | SFT, KEY(N), finder_prev }
+};
+*/
+/* Reference for the key shorthand:
+ * <https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gdk/gdkkeysyms.h> */