aboutsummaryrefslogtreecommitdiff
path: root/README.adoc
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2022-01-09 07:44:47 +0100
committerPřemysl Eric Janouch <p@janouch.name>2022-01-09 07:48:44 +0100
commit25dcc3b136d96cd1d47754b9bae2a006f71586e2 (patch)
tree7cc63d08c65439e73b7e50f284139a28df457ad2 /README.adoc
parent09e5a02ed6b9f771618c426f842afae6149c5bb4 (diff)
downloadfiv-25dcc3b136d96cd1d47754b9bae2a006f71586e2.tar.gz
fiv-25dcc3b136d96cd1d47754b9bae2a006f71586e2.tar.xz
fiv-25dcc3b136d96cd1d47754b9bae2a006f71586e2.zip
Handle view bindings through an action signal
This makes them adjustable.
Diffstat (limited to 'README.adoc')
-rw-r--r--README.adoc6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.adoc b/README.adoc
index 7837f4b..456a590 100644
--- a/README.adoc
+++ b/README.adoc
@@ -61,6 +61,12 @@ _~/.config/gtk-3.0/gtk.css_:
fiv-browser { -FivBrowser-spacing: 0; padding: 0; border: 0; margin: 0; }
+Similarly, you can adjust some of the key bindings, as per the command table
+in link:fiv-view.h[]:
+
+ @binding-set ViewBindings { bind 'p' { 'command' (print) }; }
+ fiv-view { -gtk-key-bindings: ViewBindings; }
+
Should you want to experiment, you will find the GTK+ inspector very helpful.
Contributing and Support