tmux
tmux copied to clipboard
Disable windows re-org
Hi!
Thanks for this awesome plugin and theme! I recently moved to Rose Pine for my default theme. but I would like to change the how windows are shown in the current plugin.
With my default tmux config this what I get:
List of window, the selected one have *
before it.
But with rose-pine tmux, the list is dynamic and changes according to current focused window.
I find this really confusing and I would like this list to be static except the change of selected one.
Is it possible to configure this option and disable it?
Can you explain in what way are they getting "reorganised"? The only thing the plugin should do is highlight differently the current one.
EDIT: As for the option, it would mean rebuilding the window-displaying code and adding the toggle would be the least troublesome part
@mrs4ndman I will elaborate:
In my plain tmux config, when I select a window it just showed as 2:another-win*
(as you can see in the first screenshot) and then to go to "yosi" named window, it's still the first-window.
With rose-pine, we are in the same state, two windows are opened, and I am "another-window", but:
- another-window moved to the left
- and "yosi" moved to right
As for the option, it would mean rebuilding the window-displaying code and adding the toggle would be the least troublesome part
If this is troublesome, I can do this change in my own fork if you can instruct me on how to achieve this.
When using this config for the plugin:
set -g @plugin 'rose-pine/tmux'
set -g @rose_pine_variant 'main'
Does it keep happening? I am testing trying to recreate the undesired window movement (I don't know what is causing it at the moment)
EDIT: I need to figure out how to make the plugin show the custom window name when set by the user
Thanks to this issue, I have re-thought the plugin's options, so the next commit(s) will implement the options to change the default behaviour. Without setting anything, the windows will behave the same as if there was no plugin.
Does this look cool as default behavior?
This afternoon I will probably update the README, and it has a high probability of implementing breaking changes, so I might create an issue for those to track them.
EDIT: Changes already commited (readme updated) and a "Breaking changes" issue has been opened for future occurrences.
What is the configuration for the plugin on your .tmux.conf
? I suppose the default one
@yosiat Having these options inside the config leads to the default tmux behaviour of active & non-active windows:
set -g @rose_pine_variant 'main'
set -g @rose_pine_show_current_program 'off'
I haven't had problems with renaming windows, although it might be a bug / oversight on my side.
Closing because the original issue has subsided :smiley: