-
-
Notifications
You must be signed in to change notification settings - Fork 434
Unable to bind several keybindings via keycodes #3555
New issue
Have a question about this project? No Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “No Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? No Sign in to your account
Comments
I tried your snippet and it's working for me. What makes you say it doesn't work as expected? I'd refactor it as below but it's a matter of personal preference. (define-configuration :document-mode
"Docstring."
((keyscheme-map
(define-keyscheme-map "my-map" (list :import %slot-default%)
nyxt/keyscheme:emacs
(list
"#45" 'nyxt/mode/document:scroll-down
"#31" 'nyxt/mode/document:scroll-up
"#46" 'nyxt/mode/document:scroll-right
"#44" 'nyxt/mode/document:scroll-left))))) On another note, I didn't know that the Guix package was broken, I'll look into it. Also, this may interest you: https://gist.github.com/teu5us/f2e39c442e034bb26d0da6add1145b53. |
@ichernyshovvv I was able to reproduce your report but only on Guix. My wild guess is that there's a mismatch between If you run the Flatpak, you'll see that this issue isn't reproducible. |
Yeah, On 3.11.7 I had issues with annotations. Every time I called show-annotations command it crashed. On 3.11.6 the annotations package works fine.
Thanks.
Thanks for the link, but I'll probably wait for the guix package to update, since keybindings configured via keycodes look more succinct, no need for another 100-lines config file. Cannot help with the upgrade though, sorry (have no experience with common lisp at all). |
Hi. I use two keyboard layouts on my PC and it's more convenient for me to bind keybindings using keycodes as follows:
But for some reason this snippet does not work as expected. None of the listed commands are bound to the corresponding keycodes. The only way it works is when I leave only one pair of keycode and command in the list of bindings:
Information
OS: Guix System x86_64
Kernel: 6.11.11
WM: sway 1.10
Nyxt version: 3.11.6
Installation method:
guix time-machine -q --commit=83e39340eaa416c1fd6a96f0aa95d907af27a05f -- shell nyxt -- nyxt
(since it crashes on version 3.11.7 (latest version on guix now), I use 3.11.6)
Output of
nyxt --system-information
:Thank you for your work.
The text was updated successfully, but these errors were encountered: