Giter Club home page Giter Club logo

Comments (2)

jmercouris avatar jmercouris commented on July 23, 2024 1

Hello! Yes, this feature already exists, but in a non-obvious way, C-l will load the current-url into the minibuffer, then pressing RET will simply load that page, effectively reloading it

Of course, as with everything emacsy, the best would be to offer several ways of doing this for the end user, for now if you want you can make a very simple Parenscript within your init file that will allow you to reload the page

(defparenstatic reload-page
    (ps:chain location (reload)))

then, you can bind it to whatever you like. If you want to bind reload the page to something like "g", you will have problems when you want to type "g" into an input box, the system will reload the page instead of letting you type "g".

To compensate for this, you'd then have to make an "insert-mode" for inputting text that has no keybindings on a normal typed letter. E.g. you'd be getting into EVIL territory. This is currently possible of course, you could write your own EVIL mode right now. For a simple example of how to write a mode please see https://github.com/nEXT-Browser/nEXT/blob/master/documents/EXTENSION.org#running-shell-commands-within-next in which I've defined a "shell-mode".

Once again, thank you for your interest and opening the issue! I am always trying to make the software better for the users, and feedback like this is always very valuable. My own use case of course does not cover the myriad of other ones, so I really appreciate this, thank you!

from nyxt.

cjohansson avatar cjohansson commented on July 23, 2024

Ok thanks, C-l + RET works, I didn't think about the issue with input fields. I will try to get into the customizing business 😎

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.