-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[wish] TMUX status line integration #475
Comments
@tigerinus what exactly do you mean by supporting TMUX? The way I understand it, TMUX is a multiplexer running a shell (which we already support). |
TMUX has a customizable status line. The legacy powerline has a TMUX plugin that shares its segments within TMUX status line. |
I'm interested in this as I'm currently only running Powerline supports a large amount of tmux versions -- 1.7 through 2.1+ tmux used to (pre-2.9) only support rendering a left bar, the window list (center), and a right bar. Powerline's default config was to statically set the window list coloring during init, and then tell tmux to call powerline every 2 seconds for the left and right bar lines, as separate commands. The default config only had the session name in the left bar, a powerline-like window list in the current colorscheme, and then uptime, load, time, date, and hostname in the right statusbar. Newer tmux (2.9+) supports rendering the entire status line via the Given the current approach of posh regarding static shell inits without coloring information present, and only using the engine and renderer when rendering a status line, the best approach might be to only support tmux 2.9+ via the I'm happy to slowly work on this if there is interest in my copious spare time, but given my lack of familiarity with the current codebase, would welcome any advice or guidance regarding the above. |
Another example of prompt/vim/tmux integration would be promptline.vim / tmuxline.vim (both are on GitHub) |
What might this look like for configuration? I too run powerline for the statusline support and works love to switch to OMP, but powerline supports different shells for different layouts. You certainly wouldn't want a typical shell e.g., pwsh or bash, layout in vim. Would we first need to add support for different configurations? I suppose one way is just to point to a different config file when starting OMP from inside vim. Would likely need vim-specific segments, though. |
The main reason this one's still open is that the documentation on the subject is (for me at least) impossible to find. And I mean actual implementation examples. |
Perhaps it might be worth closing this issue in favour of a dedicated one per target tool. By the way, support for Definitely not an official documentation, but the source code of the For |
but seems like it is not possible to run TMUX in Windows Terminal Powershell, right? |
Decided to not pursue this effort. If anyone wants to give it a go, feel free. |
Prerequisites
CONTRIBUTING
guideDescription
The only reason I am still staying with Powerline is its integration with TMUX. I've been looking for an alternative to Powerline + TMUX + bash for a long time, but no luck. OMP has a cross-shell prompt customizer seems to be promising. It'd be nice to support TMUX.
The text was updated successfully, but these errors were encountered: