From 3951e44032d1cc3d475ea7ce444a223b77e783eb Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Sat, 3 Feb 2024 06:01:41 +0000 Subject: [PATCH] nyxt: add binds to copy username and password --- home/nyxt/config.lisp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/home/nyxt/config.lisp b/home/nyxt/config.lisp index eb1689c8..a57fd764 100644 --- a/home/nyxt/config.lisp +++ b/home/nyxt/config.lisp @@ -15,6 +15,13 @@ (define-configuration :style-mode ((glyph "ϕ"))) (define-configuration :cruise-control-mode ((glyph "σ"))) +(define-configuration :document-mode + "Extend with custom keybinds" + ((keyscheme-map (keymaps:define-keyscheme-map "custom" (list :import %slot-value%) + nyxt/keyscheme:emacs (list + "C-c u" 'copy-username + "C-c p" 'copy-password))))) + (define-configuration browser ((restore-session-on-startup-p nil) (theme (make-instance