Hello. I dont understand why I have issue remapping these functions: search-buffer
and visual-mode
.
(define-configuration buffer
;;If you want to reuse the default map,
;;you can use %slot-default instead of (make-keymap ...)
((override-map (define-key %slot-default%
"S-x" 'execute-command
"M-c" 'delete-buffer
"M-v" 'visual-mode
"M-s" 'search-buffer
"C-w" 'delete-current-buffer))))
Why is "M-c" 'delete-buffer
works but not "M-v" 'visual-mode
nor "M-s" 'search-buffer
?
That’s the output I get:
$ nyxt
nyxt
<INFO> [06:43:51] Listening to socket "/run/user/1000/nyxt/nyxt.socket".
Nyxt version 2.2.3
<INFO> [06:43:51] Loading Lisp file "/home/danrobi/.config/nyxt/init.lisp".
<WARN> [06:43:52] Warning: Error on GTK thread: The value
VISUAL-MODE
is not of type
NYXT::NYXT-KEYMAP-VALUE
C-c C-c^C<INFO> [06:44:15] Deleting socket "/run/user/1000/nyxt/nyxt.socket".
danrobi@Emacs-MX-Lappy:~
$ nyxt
nyxt
<INFO> [06:46:00] Listening to socket "/run/user/1000/nyxt/nyxt.socket".
Nyxt version 2.2.3
<INFO> [06:46:01] Loading Lisp file "/home/danrobi/.config/nyxt/init.lisp".
<WARN> [06:46:01] Warning: Error on GTK thread: The value
SEARCH-BUFFER
is not of type
NYXT::NYXT-KEYMAP-VALUE
C-c C-c^C<INFO> [06:46:13] Deleting socket "/run/user/1000/nyxt/nyxt.socket".