-
Notifications
You must be signed in to change notification settings - Fork 5k
TMUX support #501
-
Right now blocks and input don't work within tmux sessions.
The most likely way we would support this is through tmux's control mode feature, like iTerm, where it would integrate with split panes.
https://github.com/tmux/tmux/wiki/Control-Mode
Posting here to get a sense of how useful this would be. Please give it a thumbs up if you'd like it.
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1186 -
🎉 54 -
❤️ 75 -
🚀 56 -
👀 117
Replies: 139 comments 70 replies
-
For anyone interested in this feature, we're running some focus groups to understand this use-case a little bit better. We would love for you to join if you are interested: https://calendly.com/aloke-warp/tmux-focus-group?month=2021-08&date=2021年08月18日
Beta Was this translation helpful? Give feedback.
All reactions
-
Hi I'm a tmux & warp user and would like to join the focus group and perhaps test beta features once you have a draft.
The calendly link doesn't work anymore.
Beta Was this translation helpful? Give feedback.
All reactions
-
the calendal link is not working
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
The calendly link is not working
Beta Was this translation helpful? Give feedback.
All reactions
-
The first thing I do is enter a tmux session, always! Having everything in one window is so satisfying. Using keybindings that work on all stock tmux configurations is also crucial for me as system admin. If Warp can't work with that in the way to expect, I won't give it a shot.
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 34 -
🚀 3
-
From @kendallm
During SSH:
"The window offset for the top of the window covers the first line of text. This isn't usually an issue using the Warp as normal, but attaching to a tmux session in a remote terminal this creates a bit of a UX issue. See attached screenshot.
To Reproduce
Steps to reproduce the behavior:
Create a tmux session in another terminal window
In warp, type tmux attach -d
See screenshot below
Expected behavior
I would expect the viewport for terminal window not be obstructed by the tab bar."
Beta Was this translation helpful? Give feedback.
All reactions
-
@thomasmarcel - #156 support starting tmux by default
Describe the bug
"I have some functions to open a new tmux session or reattach it when a new terminal session is opened, but it keeps crashing Warp on zsh startup.
I tried with no `.tmux.conf` file, with less logic, only opening a new session, same error.
Opening a tmux session after Warp finishes loading works fine.
To Reproduce
Steps to reproduce:
Add the line below to your .zshrc
tmux new-session -As "test"
Launch Warp
Expected behaviour
The terminal starts as expected and opens a tmux session."
Beta Was this translation helpful? Give feedback.
All reactions
-
from zheng:
To clarify, does it crash - or does it show this modal?
We've been meaning to make this modal less intrusive (show a toast instead). I also think it may make sense for us to avoid showing it if the user's in a full screen program
Beta Was this translation helpful? Give feedback.
All reactions
-
from thomasmarcel
It freezes and shows the modal, precisely!
Beta Was this translation helpful? Give feedback.
All reactions
-
mapping the left option key to meta on M1 Macbook Air wouldnt work when using Tmux in Warp.
Im trying to use it to switch panes with h/j/k/l and it works correctly in nvim but not in a tmux terminal pane.
Beta Was this translation helpful? Give feedback.
All reactions
-
I can't start tmux sessions. I can attach to them. But when I try to start them in warp I just get.
tmux [exited]
The exit code is 0. Kind of makes warp unusable for me sadly.
Beta Was this translation helpful? Give feedback.
All reactions
-
For what it's worth, things seem to be working for me now on the latest release.
Beta Was this translation helpful? Give feedback.
All reactions
-
Yeah me too, heavy tmux/vim user, and I loved warp from what I was told.
I usually use tabs in tmux and panes in vim
Beta Was this translation helpful? Give feedback.
All reactions
-
Split Panes may help with this your case. https://docs.warp.dev/features/split-panes
Beta Was this translation helpful? Give feedback.
All reactions
-
Unfortunately no. As tmux keep your remote sessions, and open new pane in warp and then ssh is a little bit painful...
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 23
-
I use tmuxinator to set up my projects and open all the panes and windows I use. It would be great to have the features of the warp in tmux
Beta Was this translation helpful? Give feedback.
All reactions
-
Give Launch Configuration feature a try for your use case. https://docs.warp.dev/features/session-management/launch-configurations
Beta Was this translation helpful? Give feedback.
All reactions
-
That is not the same. If I accidentally close my window, I can just "tmux a" and have the session open again. I can even log out of my graphical session and can log back in again, open a terminal, "tmux a" and there is my session. I have a shell script I start that will configure my Lay-out in tmux and start several programs in the correct layers.
I have the same shortcuts for splitting and navigating tabs and windows across multiple terminals and machines (where my tmux.conf exists) across Linux and macOS. Headless or not.
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 3
-
Regarding that shell-script - that works also on a headless machine which I regularly ssh into from iOS-devices where Warp is not available.
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 2
-
This shell-script of yours sounds really cool. Do you have it in a public repo or gist? I'd really like to have something like that as I use vim/tmux a lot for my projects.
Beta Was this translation helpful? Give feedback.
All reactions
-
Plugins can help restoring sessions, for example https://github.com/tmux-plugins/tmux-resurrect saves the current state locally.
This way each host can have a different (and dynamic) layout.
I have an alias to attach or start a new session, usually one per host:
#!/usr/bin/env bash if ! hash tmux 2>/dev/null; then return fi t() { if [[ $# -ne 0 ]]; then tmux "$@" elif [[ -n "$TMUX" ]]; then tmux new-session -d else tmux attach || tmux new-session fi } if hash _tmux 2>/dev/null; then complete -F _tmux t fi
Beta Was this translation helpful? Give feedback.
All reactions
-
Same here, would love to have tmux support in warp
Beta Was this translation helpful? Give feedback.
All reactions
-
Tmux support would be fantastic. I pretty much only use tmux in my terminals.
Beta Was this translation helpful? Give feedback.
All reactions
-
Similarly, tmux+{mosh, ssh} is almost equivalent to the terminal for me.
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 2
-
Yeah. I love the idea of Warp but my setup is so ingrained into Tmux
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 10
-
I wouldn't mind leaving my tmux workflow if warp supported something like "Workspaces". Basically offering what tmuxinator does.
Right now when I use warp, I just have like 10 tabs open. Usually 2 tabs per project (general command stuff, and then lazygit in the other tab). I just want to be able to switch to a different project without having to remember which tab group I was in.
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 7
-
This along with detached mode would be so darn cool!
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
EDIT: moved my comment to the session management topic, but it talked about how Warp could do session management features that would completely replace my tmux usage.
Beta Was this translation helpful? Give feedback.
All reactions
-
Would love to see support for tmux like iTerm2, tmux sessions are opened in tabs
Beta Was this translation helpful? Give feedback.
All reactions
-
I don't even need special tmux-support like iTerm because that is tbh not working well for me, but in tmux all the special features of warp are gone apparently. And the first thing I do when I open up my computer and open up the first terminal is to start a shell-script that sets up my environment in tmux for me with multiple tabs, splits and starting some programs.
Beta Was this translation helpful? Give feedback.
All reactions
-
👀 1
-
Same. I start tmux from my .bashrc file, and stay in that one tmux session all day.
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
My day-to-day workflow involves connecting back to long-running tmux sessions - some on my local machine, and many on a remote machine that I access over SSH. Ideally, for me, the solution that Warp lands on would work as well with remote tmux sessions as it does with local sessions.
Beta Was this translation helpful? Give feedback.
All reactions
-
This is my workflow as well.
Beta Was this translation helpful? Give feedback.
All reactions
-
Even local sessions are tmux in my use case as I want my sessions to survive when I log in or out. Not that I log in or out often, but at least when MacOS force me to do that to cope with a bug in the GUI I at least still have my command windows where I left them.
Beta Was this translation helpful? Give feedback.
All reactions
-
I also often leverage this workflow.
Beta Was this translation helpful? Give feedback.
All reactions
-
Here's my 50 cent (as mentioned in another issue here):
I usually prefer tmux to profiles/sessions, because tmux to me was the well established go to product #1 ... plus
- tmux is independent, like it or not, if I someday prefer another terminal or need another terminal ... I can use my profiles/sessions as of tmux there out of the box as well
- there's plugins for tmux
- community
- docs
I still don't use warp because I can't go tmux-fullscreen and tmux-statusline rendering isn't good either ...
However I want to propose something that I think would be useful, plus feasible if still early days as of sessions/profiles (which I heard isn't (fully??) implemented yet):
- Why not use the established .tmux.conf for simulating the tmux-statusline in the top tabline???
I am an avid status/powerline-user and would really like to see custom components and fancy tabs in the tabline, along with the possibility to hide a tabline with 1 tab/no-components only.
If you want to support tmux better anyway and possibly need to integrate with tmux somewhat and plan to have sessions & profiles in the future, why not simply instead of -- take care, persuasive wording ahead
- inventing your own schema nobody knows, a brand new one that takes some time to architect properly
- maintain that schema and extend it as the community thrives
parse and simulate/emulate tmux.conf and tmuxinator.yml?? instead
You get: - a well estabished schema that's being used by I guess a good percentage of all the CLI geeks out there
- being maintained and developed by an existing community
- open source, meaning you can contribute if the need arises or the community wants something (also giving to OSS)
- you can even fork-extend it should you need to ...
Beta Was this translation helpful? Give feedback.
All reactions
-
👀 3
-
this is the way
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
However I want to propose something that I think would be useful, plus feasible if still early days as of sessions/profiles (which I heard isn't (fully??) implemented yet):
Why not use the established .tmux.conf for simulating the tmux-statusline in the top tabline???
I am an avid status/powerline-user and would really like to see custom components and fancy tabs in the tabline, along with the possibility to hide a tabline with 1 tab/no-components only.
Great points! I fully agree this is the way. I don't think any deeper integration is needed.
Beta Was this translation helpful? Give feedback.
All reactions
-
tmux please!
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 10 -
👎 1
-
I rebound my tmux prefix to ctrl + ` and it stopped working in warp. What gives?
Beta Was this translation helpful? Give feedback.
All reactions
-
@dannyneira wen TMUX ?
Beta Was this translation helpful? Give feedback.
All reactions
-
maybe create warpmux ?
Beta Was this translation helpful? Give feedback.
All reactions
-
warp multiplexer with sessions, windows and panes. I'll not ask for anything more again 🙏
Beta Was this translation helpful? Give feedback.
All reactions
-
My situation is not the norm, but I figured I'll leave feedback anyways.
I love Warp and it has been my main driver for a few years now... but unfortunately I joined a new team and the local development set up is deeply entwined with tmux, which is forcing me to switch off of Warp onto iTerm, which is unideal.
Hope tmux support comes soon!
Beta Was this translation helpful? Give feedback.
All reactions
-
Still don't have this huh? Yall remember this saga?
Would still love to dig into Warp but I gotta sick with Ghostty till you guys have tmux.
Beta Was this translation helpful? Give feedback.
All reactions
-
They should put some brakes on AI stuff and revisit tmux!
Beta Was this translation helpful? Give feedback.
All reactions
-
How to short Warp ? 👀
Beta Was this translation helpful? Give feedback.
All reactions
-
I think they need. to understand that people will use claude and codex and they should probably support that instead of reinventing.
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
Beta Was this translation helpful? Give feedback.
All reactions
-
I don't need that much CLI in my life, but I love Warp. However due to various hidden limitations and blocks, I end up in cursor 99 times out of 100
Beta Was this translation helpful? Give feedback.
All reactions
-
Please support this TMUX, this is much needed now as we are advancing the usage of AI, and warp is really nice with this use case
Beta Was this translation helpful? Give feedback.
All reactions
-
Wow, is this really still not a thing?! What a miss.
Beta Was this translation helpful? Give feedback.
All reactions
-
how's it going team... would really love tmux 1st class support here as all my agents spin up tmux sessions, both locally and via SSH
Beta Was this translation helpful? Give feedback.
All reactions
-
AI has its place in the market, I'm all for improving user experience with AI - But damn, WARP is mega cucked to AI - they literally don't care about anything anymore. Hoping for better leadership in the team to make decisions with a developer-centric mindset again.
Beta Was this translation helpful? Give feedback.
All reactions
-
Well, did you pay for Warp before AI? No?
Can't fault them for trying to pay their bills, and it doesn't seem like pre-AI Warp was viable.
Which is a shame, because the input block was a real innovation in trying to move terminals into the 21st century. It's why I still use Warp.
Beta Was this translation helpful? Give feedback.
All reactions
-
Well, did you pay for Warp before AI? No?
Can't fault them for trying to pay their bills, and it doesn't seem like pre-AI Warp was viable.
Which is a shame, because the input block was a real innovation in trying to move terminals into the 21st century. It's why I still use Warp.
I'd argue there are no revenue-viable terminals beyond donations. I was a Warp subscriber for a long time and it just stopped making sense when there are comparable terminals. Without the input block, Warp becomes a fairly milquetoast terminal emulator with panes.
I think they knew this and tried valiantly to convince themselves of the opposite. Then LLMs took off! They coupled themselves inextricably to them. And here we are. As someone said, they're deeply cucked to AI and there business fails without it.
Beta Was this translation helpful? Give feedback.
All reactions
-
The Split Panes display mode of the Claude Code Agent Teams feature only works with tmux or iTerm2.
It would be nice to have this feature and support split panes
https://code.claude.com/docs/en/agent-teams#choose-a-display-mode
Beta Was this translation helpful? Give feedback.
All reactions
-
I'd rather they just close the issue. It's so painfully obvious they don't really care about implementing this.
Beta Was this translation helpful? Give feedback.
All reactions
-
any update on this ?
using ssh+Tmux+Claude, and the notifications of claude asking for input are not propagating through the warp plugin
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
This is the exact issue I’m running into. The rich input option is also missing. After connecting to tmux, Wrap is unable to detect the Claude sessions. Since Wrap has recently open-sourced its terminal code, I’m planning to take a look and see if I can identify the root cause and potentially submit a PR to fix it.
Beta Was this translation helpful? Give feedback.
All reactions
-
I wish we could have Warp support turning a tmux session into warp sessions (where each tmux session, the ones you create with ctrl+b+c, becomes a tab in Warp) that supports suspending to the background.
I've got dev systems I SSH into, open tmux and have a couple of session running in there doing various long-running things (even running AI agents) that then keep running even if I drop my connection.
With warp I can either disable all the warpification and just SSH in and run "tmux a" and it works, but owuld be great if it become Warp native!
Beta Was this translation helpful? Give feedback.
All reactions
-
Good news! This feature is part of the new road map. Community support is required to bring this live.
#9233
Beta Was this translation helpful? Give feedback.
All reactions
-
🎉 2 -
❤️ 1 -
🚀 11
-
let's goooo, very exited
Beta Was this translation helpful? Give feedback.