Skip to content

Instantly share code, notes, and snippets.



View GitHub Profile
gregoryhugaerts / nyxt.el
Last active Jan 6, 2022
some emacs nyxt commands
View nyxt.el
(defun emacs-with-nyxt-sly-connect (host port)
"Connect Sly to HOST and PORT ignoring version mismatches."
(sly-connect host port)
(sleep-for 1))
(defvar emacs-with-nyxt-sly-nyxt-delay 0.3)
(defun emacs-with-nyxt-start-and-connect-to-nyxt (&optional no-maximize)
"Start Nyxt with swank capabilities. Optionally skip window maximization with NO-MAXIMIZE."
(async-shell-command (format "nyxt -e \"(nyxt-user::start-slynk)\""))