Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add last_tab and last_window hotkeys #1040

Closed
marningmol opened this issue Sep 30, 2018 · 4 comments
Closed

Add last_tab and last_window hotkeys #1040

marningmol opened this issue Sep 30, 2018 · 4 comments

Comments

@marningmol
Copy link

I want to try kitty as a replacement for tmux, but an integral part of my workflow depends on the use of the following Tmux commands which I cannot find a replacement for in Kitty:

last-pane [-de] [-t target-window]
                   (alias: lastp)
             Select the last (previously selected) pane.  -e enables or -d
             disables input to the pane.

last-window [-t target-session]
                   (alias: last)
             Select the last (previously selected) window.  If no
             target-session is specified, select the last window of the cur‐
             rent session.

Just to make it blindingly obvious, the behavior here is for a hotkey that switches to whatever Window / Tab is not currently active but was most recently active.

I believe this would be easy to add and make a good improvement to Kitty.

@kovidgoyal
Copy link
Owner

sure, should not be hard. I'll get to it when I have a moment, feel free to submit a patch before then, if you want.

@marningmol
Copy link
Author

Sadly I don't have the time to get into this codebase. I'll wait patiently and be much obliged when it lands.

@pablox-cl
Copy link

@kovidgoyal, can you point to me where this functionality could be, so I can take a look?

@kovidgoyal
Copy link
Owner

Run kitty from master or wait for the next release and then use goto_tab
-1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants