Howdy LQ:
I'm trying out
Nyxt Browser: wow!
I use emacs, and grok some lisp, and today I've enjoyed figuring out how to create a key-binding that would take me straight to LQ:
I add my customizations to ~/.config/nyxt/init.lisp:
Code:
;;; NYXT INITIAL RUNTIME CONFIGURATION
;;; ~/.config/nyxt/init.lisp
;;; SET KEYBOARD BINDINGS TO EMACS-MODE
;;; vim users would set this to vi-normal-mode instead
(define-configuration buffer
((default-modes (append '(nyxt::emacs-mode) %slot-default%))))
;;; EXTEND KEYMAPPINGS FOR EMACS-MODE
;;; (my custom bindings)
(define-configuration base-mode
((keymap-scheme
(define-scheme (:name-prefix "my-base" :import %slot-default%)
scheme:emacs
(list "C-x l l" (make-command make-buffer-focus* ()
(make-buffer-focus :url (url "https://www.linuxquestions.org")))
"C-x l c" (make-command make-buffer-focus* ()
(make-buffer-focus :url (url "https://lispcookbook.github.io/cl-cookbook/")))
)))))
so I can now navigate to lq with keyboard-sequence Control-x, then "l" for load, and another "l" for lq, and likewise, I can navigate wich sequence C-x, "l" for load, and "c" for cookbook.
Nyxt shipped with keybinding for creating a bookmark, but returning to the bookmark, still involved some scrolling and selecting. I like linking site to direct keymapping. This Nyxt browser seems power packed with keyboard shortcuts... but dang if I can get it to play a youtube yet
.
Anyone else tried nyxt? Any tips or experience to share?
Peace.