Giter Club home page Giter Club logo

Comments (5)

Julian avatar Julian commented on June 25, 2024 2

It doesn't, in any of them...

Which was enough to remind me what the issue was.

It's the Apple accent key nonsense (which doesn't trigger on j, but if you
have it enabled at least prevents j from sending key repeats).

If I'd have tried 'e' I'd have known why immediately.

For anyone finding this, https://ioshacker.com/how-to/disable-macos-accent-keys-and-enable-key-repeat is how you'd fix it.

Though there must be some per-App-ness to it because key repeat has always
worked in terminal nvim, so maybe there's a way to disable it here too by
default even on macOS machines that otherwise have it enabled...

But yeah will close for now, thanks for the hint!

from firenvim.

glacambre avatar glacambre commented on June 25, 2024

I can't reproduce this, keeping j pressed works for me. What OS+Browser+Neovim version are you using?

from firenvim.

Julian avatar Julian commented on June 25, 2024

Hm, interesting.

Here, Firefox Quantum (69.0.1) on macOS Mojave (10.14.6) and nvim 0.4.2 from
Homebrew.

Separately, I have an issue where the embedded nvim doesn't show a cursor (of
any kind), so possibly the two issues are related and nvim is confused about
what terminal it's running in or something?

Let me know if there are other things I can poke at or provide obviously, and thanks again for the extension, well done.

from firenvim.

glacambre avatar glacambre commented on June 25, 2024

Could you save the following html file somewhere on your computer, open it in your browser and see if keeping j pressed works in all of the textareas?

<!doctype html>
<html lang="en">
        <head>
                <meta charset="utf-8">
                <meta name="viewport" content="">
                <title></title>
        </head>
        <body>
                <textarea id="textarea0"></textarea>
                <textarea id="textarea1"></textarea>
                <textarea id="textarea2"></textarea>
                <textarea id="textarea3"></textarea>
                <script>
                        document.getElementById("textarea1").addEventListener("input", e => {
                                e.preventDefault();
                                e.stopImmediatePropagation();
                                e.target.value += "a";
                        });
                        document.getElementById("textarea2").addEventListener("input", e => {
                                e.preventDefault();
                                e.target.value += "a";
                        });
                        document.getElementById("textarea3").addEventListener("input", e => {
                                e.stopImmediatePropagation();
                                e.target.value += "a";
                        });
                </script>
        </body>
</html>

I don't think your cursor issue is related. I believe I remember experiencing something similar before but I have no idea how/why it disappeared.

from firenvim.

glacambre avatar glacambre commented on June 25, 2024

Sounds like a nice feature to train yourself to use 3j instead of jjj ๐Ÿ˜„

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.