Code Monkey home page Code Monkey logo

Comments (5)

ojroques avatar ojroques commented on May 27, 2024 1

Yeah my bad, I didn't read correctly the doc of visualmode() and it turns out its behavior is different when it is called for the first time. I also forgot that I don't use the mappings directly (I'm using the clipboard provider) so that's why I never saw that bug. Sorry about that.

from nvim-osc52.

ojroques avatar ojroques commented on May 27, 2024

That's strange, I've never run into this issue. Maybe there is a conflict with another plugin. Can you try disabling your other plugins and see if the problem is still there? Also can you share your Neovim config so that I can reproduce on my side?

from nvim-osc52.

arepavich avatar arepavich commented on May 27, 2024

Just tested and confirmed that this issue still persists when nvim-osc52 is the only installed/active plugin.

Interestingly, I have been unable to reproduce this when invoking via command mode with
:lua require('osc52').copy_visual() - it only appears to occur when invoked via a keybind.

I tried a different keybind in an attempt to rule out any potential conflicts with Neovim internals (I use , as my leader key, which I've heard can conflict in some cases). For this, I changed the keybind for copy_visual to gac but I saw no change in behavior.

I'm currently using Neovim v0.7.0 and you can find my config here: https://github.com/arepavich/dotfiles/tree/master/config/nvim

from nvim-osc52.

arepavich avatar arepavich commented on May 27, 2024

Just tested with the latest and I can confirm that it appears to be fixed.

Thanks for making and maintaining this magnificent plugin, by the way; this has been a huge help in my workflow, and the fact that it just works out of the box as a drop-in solution is amazing!

from nvim-osc52.

ojroques avatar ojroques commented on May 27, 2024

Great! Thank you, I'm glad you like the plugin :)

from nvim-osc52.

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.