Giter Site home page Giter Site logo

Comments (6)

nightwing avatar nightwing commented on July 29, 2024

This is already implemented, could you please check if you see the issue on https://raw.githack.com/replit/codemirror-vim/master/dev/web-demo.html? Maybe there is a bug for specific text, or a browser, so more detailed reproduction steps would be greatly appreciated.

from codemirror-vim.

blast-hardcheese avatar blast-hardcheese commented on July 29, 2024

Here's a screen recording:

Screen.Recording.2024-02-05.at.3.22.58.PM.mov

Keys pressed:

<Return><Return>f<Space>f<Space>f<Space>F<Space>F<Space>F<Space>

I expected to go down two lines (✅) skip forward three instances of (✅) skip backwards two instances of (❌, only two here because there wouldn't be a third, the cursor would end at the first in the line)

Browser: Version 1.62.153 Chromium: 121.0.6167.85 (Official Build) (arm64)
OS: macOS Sonoma, 14.2.1 (23C71)

Also tested on Safari, unexpected behavior there as well.

from codemirror-vim.

nightwing avatar nightwing commented on July 29, 2024

Which keyboard layout do you use?

from codemirror-vim.

blast-hardcheese avatar blast-hardcheese commented on July 29, 2024

@nightwing U.S.
image
image

from codemirror-vim.

nightwing avatar nightwing commented on July 29, 2024

I have added input event logging to the demo here https://raw.githack.com/replit/codemirror-vim/input-log/dev/web-demo.html could you please try running the same input on that page and show what is printed to the log section.

Here's what i get with same settings as you

Screen.Recording.2024-02-11.at.22.21.30.mov

.

from codemirror-vim.

blast-hardcheese avatar blast-hardcheese commented on July 29, 2024

🤯 I realized, the issue is CM thinks that <Shift><Space> is different than <Space>, but vim does not. My muscle memory has been to just keep shift down, only when looking at your character log, <Space> in yours vs <S-Space> in mine:

Screen.Recording.2024-02-12.at.10.09.36.AM.mov

Sorry for not realizing the actual issue here earlier, I'm glad it's not something more esoteric!

from codemirror-vim.

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.