-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Feature request: vim like jump list to jump between panes across windows/sessions #3258
Comments
It isn't really any use describing features in terms of what vim does because I don't use it. I don't know if a global last-pane list would be terribly useful, it seems more useful to go back to where the session was like tmux does. If you want to jump to a particular window or pane you can already do it with choose mode. |
It is useful because user doesn't need to think name of session, and window number to get to where they want to. For people with amazing memory it might look like its unnecessary, having a global last-pane list would be beneficial for those with not so amazing memory especially while multi-tasking, or while burning the midnight oil. It would also reduce mental tedium for those with amazing memory, as they just need to press one of two key-bindings to move back and forth, saving energy in brain for other tasks. Ok, will explain any vim feature analogy going forward. |
Huh, I actually wanted something like this a while back and wrote this and rebound ' to it. Lets you mark a pane and then jump back to it from whatever pane you're currently in. Hitting the binding again while in the marked pane will jump you back to what pane you were in before jumping to the marked pane. Sadly can only work on one pane at a time but a nice hack that could be repurposed for something like you're asking for I think. |
I think to do this I would add a global last pane list and then a new mode like |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Issue description
Tmux
last-pane
orselect-pane -l
do not jump to the real last pane if last pane was in another window or session.While maybe it is possible to define a user option for every pane and record such information, it would still be limited, as it won't be a moving list of panes user visited.
What is being requested? A Vim-style jump list feature, so user can move between panes with ease just like they navigate within Vim with C-o and C-i, or open jump list to choose to jump to (based on visit-age).
This will supercharge navigation in tmux as users will be able to jump back and forth between older visited panes and younger visited panes. IMO with just 2 keybindings that user could specify with such a feature, it could become a preferred way of navigating as it does not require using mouse or remembering session name, window name/ window number.
An additional setting if such a feature is implemented would be the depth of the jump list.
The text was updated successfully, but these errors were encountered: