diff options
-rw-r--r-- | misc/.config/nyxt/config.lisp | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/misc/.config/nyxt/config.lisp b/misc/.config/nyxt/config.lisp index 669724e..ec430ec 100644 --- a/misc/.config/nyxt/config.lisp +++ b/misc/.config/nyxt/config.lisp @@ -22,7 +22,8 @@ ;;; Commentary: -;; My nyxt config. +;; My nyxt config. It is not usable yet - see the part with +;; prompt-buffer-mode binding ;;; Code: @@ -71,6 +72,8 @@ "M-p" 'previous-heading ))))) +;;; Does not work: +;;; https://discourse.atlas.engineer/t/hint-prompt-not-showing-up/840 (define-configuration :prompt-buffer-mode "Prompt buffer mode keybindings." ((keyscheme-map @@ -79,6 +82,16 @@ ;; It is important to have the `nyxt/' namespace here nyxt/keyscheme:emacs (list - "C-s" 'next-suggestion - "C-r" 'previous-suggestion + "C-s" 'nyxt/mode/prompt-buffer:next-suggestion + "C-r" 'nyxt/mode/prompt-buffer:previous-suggestion ))))) + +;;; Neither does this work +;; (define-configuration :prompt-buffer-mode +;; "Prompt buffer mode keybindings." +;; ((override-map +;; (let ((map (make-keymap "override-map"))) +;; (define-key map +;; "C-s" 'nyxt/mode/prompt-buffer:next-suggestion +;; "C-r" 'nyxt/mode/prompt-buffer:previous-suggestion +;; ))))) |