Giter Club home page Giter Club logo

Comments (7)

glacambre avatar glacambre commented on June 25, 2024 6

I've implemented the ability to override <C-n>, <C-t> and <C-w> (which are the only 3 keyboard shortcuts that can't be overriden on Chrome AFAIK) in 8c73600, read this to discover how to use it :).
Note that this is currently only available if you build the browser extensions from source - otherwise you'll have to wait for me to publish a new release.

from firenvim.

glacambre avatar glacambre commented on June 25, 2024 1

Hi, thanks for pointing this out, I had completely forgotten about the commands API. This API doesn't let you override what happens when you press <C-w> on Firefox, which was the only browser I supported when I wrote the Drawbacks section of the readme.
I'll see what I can do for Chrome :).

from firenvim.

NilsIrl avatar NilsIrl commented on June 25, 2024

According to the description of this addon, this might only be the case on Linux.

Related bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1325692

from firenvim.

Freed-Wu avatar Freed-Wu commented on June 25, 2024

Thanks!

from firenvim.

glacambre avatar glacambre commented on June 25, 2024

from firenvim.

glacambre avatar glacambre commented on June 25, 2024

Yes, you can narrow the replacement by using key id="key_close" data-l10n-id="close-shortcut" command="cmd_close" modifiers="accel" reserved="true" as the pattern and key id="key_close" data-l10n-id="close-shortcut" command="cmd_close" modifiers="accel" as the replacement :)

from firenvim.

glacambre avatar glacambre commented on June 25, 2024

But shouldn't the regex be like this (the spaces replacing the reserved attribute)?

Yeah, probably :)

from firenvim.

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.