Giter VIP home page Giter VIP logo

kittymux's People

Contributors

guysherman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

penn201500

kittymux's Issues

When renaming or closing a window/tab the selection does not stay in the correct place

Scenario

  1. Select a window
  2. Hit x to close it.

Expected behavior

The item that is now has the position that the closed window did, should be selected (this would typically be the next item in the list).

Actual behavior:

The selection moves up to the item above the window that was closed

Cause

This is a bug in treecat, where only changed properties are updated, but if you change items you need to change selected as well.

Add windows and tabs

Adding New Windows

Some thoughts on creating new windows and tabs

  • Probably want a separate keybinding for window and tabs
  • Need sensible decisions about where to put the newly created thing so that
    you don't have to navigate to the right place first, ie will adding a new
    window add it immediately after the current one, or as the last window in the
    tab? Will adding a new tab add it after the current one or as the last one. If
    you're on a tab does adding a window insert it as the first one?

Maybe:

  • n: append new window after current
  • N: append new window as last
  • c-n: insert new window before current
  • c-N: insert new window as first
  • If on a tab, assume 'current' is previously active window in active tab
  • If on an OS window, assume 'current' as previously active window in active tab

It is unclear how this will actually work in kitty, it depends on how the overlay mode is counted.

Likely steps:

  1. Set up keybindgs
  2. Create addWindow function
  3. Populate the various options

Save and Load sessions

Now at a point where we want to be able to store a representation of the open windows and tabs, and then re-hydrate this.

Some thoughts:

  1. It should probably only store one tab at a time, ie this is a tab action -> Tab ~= a tmux session
  2. It should rehydrate it as a new tab in the current OS window
  3. It should re-apply window titles and shortcut keys, but it will probably have to cope with window id's changing

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.