Git Product home page Git Product logo

Comments (5)

TLINDEN avatar TLINDEN commented on September 23, 2024

PS: I found the function common-settings which allowed me to setup default modes. This is what has been generated in auto-config.3.lisp:

(defmethod customize-instance ((buffer buffer) &key)
  (setf (slot-value buffer 'default-modes)
          '(nyxt/mode/force-https:force-https-mode
            nyxt/mode/reduce-tracking:reduce-tracking-mode
            nyxt/mode/emacs:emacs-mode nyxt/mode/no-script:no-script-mode
            nyxt/mode/no-webgl:no-webgl-mode nyxt/mode/no-sound:no-sound-mode
            nyxt/mode/bookmark-frequent-visits:bookmark-frequent-visits-mode
            nyxt/mode/buffer-listing:buffer-listing-mode
            nyxt/mode/bookmarklets:bookmarklets-mode
            nyxt/mode/blocker:blocker-mode
            nyxt/mode/certificate-exception:certificate-exception-mode
            nyxt/mode/annotate:annotate-mode nyxt/mode/bookmark:bookmark-mode
            nyxt/mode/history:history-mode nyxt/mode/password:password-mode
            nyxt/mode/hint:hint-mode nyxt/mode/document:document-mode
            nyxt/mode/search-buffer:search-buffer-mode
            nyxt/mode/autofill:autofill-mode
            nyxt/mode/spell-check:spell-check-mode base-mode)))

But again it runs in failsafe mode, no errors are being logged, the config is being ignored.

from nyxt.

aartaka avatar aartaka commented on September 23, 2024

from nyxt.

aartaka avatar aartaka commented on September 23, 2024

from nyxt.

aadcg avatar aadcg commented on September 23, 2024

@TLINDEN You're having trouble configuring Nyxt because you're lacking pre-requisite knowledge in Common Lisp. I'll not go into details but the Lisp forms you've shared to configure default-modes aren't valid. Follow the sample below:

(define-configuration web-buffer
  ((default-modes (append '(nyxt/mode/blocker:blocker-mode
                            nyxt/mode/force-https:force-https-mode)
                          %slot-value%))))

Nyxt is being started in failsafe mode due to the mistakes in your config. Please delete /home/scip/.config/nyxt/config.lisp or the offending contents.


What is the keybinding to switch diretly to another list (say from new url to history)?

Shift-down/up works for any keyscheme. If you're using the Emacs keyscheme, M-n/p and M-[/] are also bound.

Run f1 b to get a list of available prompt buffer commands.


Also using c-l when I enter a url without protocol like blog.fefe.de nyxt doesn't try to open it but instead opens a websearch which even doesn't find the site. How can I disable this behavior?

I find that to be unintuitive as well, despite the advice @aartaka gave you. I'd suggest opening an issue mentioning that particular quirk.

from nyxt.

aadcg avatar aadcg commented on September 23, 2024

Closing. Feel free to ask more questions @TLINDEN. There's also a forum at https://discourse.atlas.engineer/.

from nyxt.

Related Issues (20)

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.