LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-05-2022, 03:30 AM   #1
slac-in-the-box
Member
 
Registered: Mar 2010
Location: oregon
Distribution: slackware64-15.0 / slarm64-current
Posts: 782
Blog Entries: 1

Rep: Reputation: 432Reputation: 432Reputation: 432Reputation: 432Reputation: 432
Surfin the Nyxt Browser


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.

Last edited by slac-in-the-box; 03-05-2022 at 04:13 PM. Reason: added binding to second web site, to demonstrate syntax for multiple bindings.
 
Old 03-06-2022, 08:22 AM   #2
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,156
Blog Entries: 6

Rep: Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835
Never used it. Here it is:
https://github.com/atlas-engineer/nyxt
https://github.com/atlas-engineer/ny...nts/README.org
 
Old 03-06-2022, 10:49 AM   #3
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,152
Blog Entries: 21

Rep: Reputation: 3484Reputation: 3484Reputation: 3484Reputation: 3484Reputation: 3484Reputation: 3484Reputation: 3484Reputation: 3484Reputation: 3484Reputation: 3484Reputation: 3484
Used Links2 to surf here. Nice that you can login without java.
 
  


Reply

Tags
browser, common lisp, nyxt



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Nyxt, an Emacs-style browser made with Common Lisp LXer Syndicated Linux News 0 02-08-2022 03:36 AM
LXer: Nyxt – keyboard-oriented extensible open source web browser LXer Syndicated Linux News 0 10-13-2020 02:34 PM
Surfin' YouTube: inconsistency detected by ld.so Karimo Slackware 15 09-05-2007 05:11 PM
A Question on Browser Sessions, and Browser Windows: opioid Programming 1 09-23-2004 02:53 PM
gaim browser / default browser question hildog Linux - Newbie 2 10-03-2003 09:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration