My Nyxt Configuration Files
This is my repo with small tweaks to Nyxt that make it more comfortable and personal. Things of interest here:
The hub of configuration (init.lisp)
This loads other configuration files:
- Nyxt-dependent:
- keybinds.lisp,
- passwd.lisp,
- slynk.lisp,
- status.lisp,
- style.lisp;
- and extension-dependent:
- ace.lisp
- kaomoji.lisp
- search-engines.lisp
And configures some basic things, like default modes for buffers.
Everything interesting is in other files.
Some custom keybindings (keybinds.lisp)
There are some things that irritate me in default keybindings (like
C-R
in auto-mode
) and I want to unbind/rebind these.
There are some commands that I lack keybindings for (e.g., password management, prompting history movement) and I want to add these.
A good example of how you can redefine mode keybinding there!
Alternative format for status-buffer (status.lisp)
I don’t like the default wordy version of status-buffer (especially
with long mode names), so I define my own laconic-format-status
to make
modeline a bit more minimalistic. Several helper functions
(laconic-format-status-*
) are there to make things easier.
This can evolve into an extension someday.
Styling (style.lisp)
I love dark themes everywhere, and I don’t like blue and green. This have made me to do black-red-and-green laconia-theme. I’m trying to reproduce it in style.lisp.
Lots of search engines for different things (search-engines.lisp)
This file has actually evolved from small configuration to an extension: nx-search-engines, so now it’s basically an extension configuration. To use it, you need to do
(load-after-system :nx-search-engines (nyxt-init-file "search-engines.lisp"))
in your init.lisp.
A KeePassXC configuration (passwd.lisp)
This used to contain a setup-keepassxc
function to setup KeePassXC to
better work with built-in password interface. Now this function is
merged upstream as part of this password interface, so what’s left is
just a simple re-configuration of defaults.
Ace editor inside Nyxt (ace.lisp)
This configures nx-ace to work as a default editor-mode
. To enable it, you need to use
(load-after-system :nx-ace (nyxt-init-file "ace.lisp"))
in your init.lisp.
Easy-to-paste Kaomojis (kaomoji.lisp)
I fell in love with Kaomojis, and I need an easy way to paste these in my browser. That’s why I made nx-kaomoji! Now I can paste over-emotional responses everywhere!
This file is simply a keybinding configuration. To enable nx-kaomoji, you need to use
(load-after-system :nx-kaomoji (nyxt-init-file "kaomoji.lisp"))
in your init.lisp.
Using SLY with Nyxt (slynk.lisp)
This is a simple copy-paste from the developer manual, nothing interesting.