Coder Social home page Coder Social logo

Comments (2)

ghillb avatar ghillb commented on September 4, 2024 2

Inspired by joshuarubin's solution, which is something slightly different (tabs are changed instantaneously, with #4,).

I've added a new cycling mode, which implements the Alt-Tab functionality, akin to what web browser do (switch to tab, after selection).

Feel free to test it on the feat.cycle_last_used branch.

After installing the branch, you would have to set two new mappings for this:

vim.keymap.set("n", "<a-s-tab>", "<plug>(CybuHistoryPrev)")
vim.keymap.set("n", "<a-tab>", "<plug>(CybuHistoryNext)")

Beware that there is still a bug, that is inconsistently occurring when triggering the window in short succession. Also the exemplary keys <a-s-tab> and <a-tab> do not work for all terminals out of the box, and you would have to change them, if this is the case for you.

from cybu.nvim.

ghillb avatar ghillb commented on September 4, 2024

That sounds like a cool Idea and I will put it on the list for a future release :)

from cybu.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.