Giter Site home page Giter Site logo

Comments (7)

astier avatar astier commented on August 20, 2024 1

Would be cool if it would be possible to assign custom commands to mouse-buttons. For example the user could define in its vimrc that left-click on a buffer in the tabline would select it and right-click would close the buffer.

from vim-buftabline.

anihm136 avatar anihm136 commented on August 20, 2024

@ap I have a working (but hacky) solution for this in Neovim. Would you be interested in a PR?

from vim-buftabline.

ap avatar ap commented on August 20, 2024

I’m certainly interested in looking at it! Having a starting point always makes it easier to get going.

If you’re asking about getting it merged – that would require getting it cleaned up. But we can handle that however you prefer.

from vim-buftabline.

anihm136 avatar anihm136 commented on August 20, 2024

Yeah I'm definitely interested in making it PR-ready if the approach is right. I went through the neovim docs again, and it's not as much of a hack as I thought it was, so I think it should be okay. Shall I make a draft PR for you to review?

from vim-buftabline.

ap avatar ap commented on August 20, 2024

As I said, I’d love to.

from vim-buftabline.

anihm136 avatar anihm136 commented on August 20, 2024

Created a draft PR #77

from vim-buftabline.

ap avatar ap commented on August 20, 2024

Thanks to @anihm136, as of de09965, this is now implemented. Share and enjoy 🙂

from vim-buftabline.

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.