Giter Site home page Giter Site logo

If the third character make the match unique, use that third character to jump and why the reminder character should stay on screen about lightspeed.nvim HOT 2 CLOSED

ggandor avatar ggandor commented on May 18, 2024
If the third character make the match unique, use that third character to jump and why the reminder character should stay on screen

from lightspeed.nvim.

Comments (2)

GGCristo avatar GGCristo commented on May 18, 2024 1

I see, this idea would make the jump faster but the general workflow would be slower if auto-jump is activated.
I don't know if the "reminder character" is the best idea, but I guess you have played a lot with the options and that is the conclusion you came up. I was thinking in something like: "everytime I see a strong color I should hit that like a wac-a-mole"
Well, thank you for the plugin it's already fantastic and good luck in reaching a psychokinesis level 😆

from lightspeed.nvim.

ggandor avatar ggandor commented on May 18, 2024

This is a good idea - in fact, I have already thought about it. Caveat: unfortunately we cannot use this together with auto-jumping, because in that case we want to "fall through" with any non-label characters, continuing editing, that is the point of the feature. (In your example: it might be that I jumped there because I wanted to open a new line - o, or append to the end ea.)

The reason why the r should stay on the screen is to mitigate the disorienting visual stimuli while targeting. If that reminder character suddenly disappears in the third step, then your brain will unwillingly shift the focus to that change, instead of concentrating on the label. (I tried that while developing the plugin.) For that very same reason, when overlapped pairs (e.g. ed in eed) come to the surface in the 3rd round, their label keeps the same, paler highlight, and does not change back to "normal".

from lightspeed.nvim.

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.