summaryrefslogtreecommitdiffhomepage
path: root/init.el
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-09-03 23:38:19 +0100
committerjao <jao@gnu.org>2022-09-03 23:38:19 +0100
commit402f03d74926a0138a1aed9c445b9354ae100ddb (patch)
treebf1ba9b76924bcc7c56c4d135df397b3e07c37f5 /init.el
parent828ce8884b79579919a7ee895c1d3bb148d39de3 (diff)
downloadelibs-402f03d74926a0138a1aed9c445b9354ae100ddb.tar.gz
elibs-402f03d74926a0138a1aed9c445b9354ae100ddb.tar.bz2
jao-afio: explicit bindings and configurable auto-toggle
Diffstat (limited to 'init.el')
-rw-r--r--init.el8
1 files changed, 7 insertions, 1 deletions
diff --git a/init.el b/init.el
index 4390f87..464dfd3 100644
--- a/init.el
+++ b/init.el
@@ -1370,7 +1370,13 @@
;;;; afio
(use-package jao-afio
:demand t
- :config (jao-afio-setup (not window-system)))
+ :config (jao-afio-setup (not window-system))
+ :bind (("C-c f" . 'jao-afio-goto-main)
+ ("C-c g" . 'jao-afio-goto-mail)
+ ("C-c w" . 'jao-afio-goto-www)
+ ("C-c z" . 'jao-afio-goto-docs)
+ ("M-o" . 'jao-afio-toggle)))
+(add-hook 'jao-afio-switch-hook 'jao-minibuffer-refresh t)
(defun jao-current--frame-id ()
(propertize (cond ((and (jao-exwm-enabled-p)