Coder Social home page Coder Social logo

Comments (6)

jsturtevant avatar jsturtevant commented on June 1, 2024

Thanks for the complement! Do you have any further information on what happens when it doesn't work? Is there an error message? Does the jumpbox show up?

Any further information would be helpful. I have had interest from the community for new features and can look at this as a possible update.

from ace-jump.

GnoX avatar GnoX commented on June 1, 2024

Everything works just fine, except that when you enter character that you want to jump to, it executes that command. It also executes it when you are jumping and these things make it unusable when using it with VsVim.

For example if you want to jump to character s, it will substitute current character (removes it and enters insert mode) and then you press S, it will write it to location that you jumped to.

from ace-jump.

jsturtevant avatar jsturtevant commented on June 1, 2024

That kind of sounds like there is a key binding conflict. Issue #2 is being working in PR #5 which will allow you to change the key combination. Once that issue is merged let's see if changing the key combination solves the issue.

from ace-jump.

GnoX avatar GnoX commented on June 1, 2024

I believe that that will not solve that issue. From my logical standpoint, once you open jumpbox, you are handling next few key presses and this will presumably disable character insertion. Problem is that VsVim is handling those key presses its own way as well.
I don't know if there is any way to interact with other plugins, but if you disable VsVim for jump key presses, it would work.
This is my theory of what's happening, but I could be easily mistaken. I hope this does help you a bit.

from ace-jump.

mgutekunst avatar mgutekunst commented on June 1, 2024

Hi,
I tested #5 with VsVim. It's working somehow. If you're in normal mode and trigger AceJump all keystrokes are handled by VsVim. But if you switch to insert mode (which is possible even after triggering AceJump) the key will be forwarded to AceJump. What I didn't find out was a way to programmatically switch to insert mode after triggrering AceJump.

from ace-jump.

jsturtevant avatar jsturtevant commented on June 1, 2024

PR #6 makes this work better with VsVim.

There is still a known issue if you try to use ace-jump in visual mode. After
jumping, it first seems that the selection is discarded. But after
moving the cursors once more, the visual selection is enabled again.

Closing this and opening a specific issue for this case.

from ace-jump.

Related Issues (13)

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.