Giter Club home page Giter Club logo

nyxt-config's Introduction

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.

nyxt-config's People

Contributors

aartaka avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.