whame / tmux-modal

Execute complex tmux commands in just a few keystrokes with a modal mode that is designed to be efficient, easy to remember and comfortable
MIT License
172 stars 4 forks source link

adding visual indicator to tmux statusline to tmix-modal is activated #7

Closed morphykuffour closed 1 year ago

morphykuffour commented 2 years ago

This pull request is based on the issue I opened here. I thought others might find it useful. The bg value can also be exposed to the user if need be.

whame commented 2 years ago

Since this is quite "hard-coded", it will probably not be merged as is. I believe that was not your intention either, but just an "example" for others that might be interested, right?

morphykuffour commented 2 years ago

Yeah, I can refactor and make TMUX_MODAL_INDICATOR a global the end user can override.

whame commented 2 years ago

Before you do that, I think we need to discuss if it is even possible to have something like this in the general case. How can we guarantee that it will work for all users? I'm thinking of users that already have custom status bars (e.g. https://github.com/erikw/tmux-powerline). We need to make sure that we don't mess the colors up (also to reset cleanly etc.)

whame commented 1 year ago

Closed due to inactivity