Giter Club home page Giter Club logo

Comments (3)

kovidgoyal avatar kovidgoyal commented on June 26, 2024 1

from kitty.

kovidgoyal avatar kovidgoyal commented on June 26, 2024

nested tabs arent worth the complexity to me. For your specific use
case, you could use the existing overlay windows feature. You create a
tall layout tab and on the right put your second terminal window as an
overlay of the first.

Then you would need to write a relatively simple kitten that could can be
mapped to some keystroke to switch between the two overlay windows,
probably by swapping which window is an overlay and which is the base
window.

Another simple way to achieve this is if you use a tiling window
manager, you can have two kitty OS windows one with your main panel on
the left and the second with two tabs on the right.

from kitty.

davvid avatar davvid commented on June 26, 2024

I'm not sure if the overlays would quite accomplish the same thing.

For the left side, it's actually split as well (3 terminal panes total, one on the right and two on the left), and it's within both of the splits on the left that swapping terminals would be helpful. That's something per-split tabs would solve that in a way that's not possible. That means it wouldn't be two OS windows, it'd be three, which is pretty clunky. It's so much nicer to just maximize a kitty window and work within that.

Right now we can jump between the split panes using ctrl-shift-[ and ]. It'd be great to be able to do that but separating them out into separate kitty windows kills that feature.

Using a tiling window manager is a bit of a lame solution, and doesn't jive with macOS either, as then the window manager's hotkeys are added into the mix whereas kitty could do it so much better on its own without any flash or delay when focus moves around. We'd also get to use kitty's native hotkeys for moving between panes. Another wrinkle is that the panes would have kitty's focus indicators if it were a native feature. Using multiple OS-level windows means they all visually display as "focused" panes.

Anyways, I'm just explaining why this seemed like a useful feature. Maybe I should switch to a tiling window manager after all. Thanks for quickly explaining that this is considered too complex to be worth it ~ I appreciate that.

from kitty.

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.