diff options
author | Yuchen Pei <id@ypei.org> | 2023-09-09 14:47:33 +1000 |
---|---|---|
committer | Yuchen Pei <id@ypei.org> | 2023-09-09 14:47:33 +1000 |
commit | b619303c7bffdc570c6a0dd867341cb078f5f63a (patch) | |
tree | 8c13f5b6b355309be3fdd7cbcf255e8a3f19a3c8 /misc | |
parent | ce028e7abf5e9306838da4df01d3164ba6c78b80 (diff) |
[nyxt] Update config documenting problems with hint-prompt binding
Diffstat (limited to 'misc')
-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 +;; ))))) |