5 ms·
I like how iTerm2 can act as a UI for tmux via tmux’s control protocol. We don’t need to reinvent tmux to fix some of the UX issues of tmux sessions inside term
by fiddlerwoaroof 2y ago
I like how iTerm2 can act as a UI for tmux via tmux’s control protocol. We don’t need to reinvent tmux to fix some of the UX issues of tmux sessions inside terminal tabs inside terminal windows.
- lathiat 2y agoThis is my favourite, I use it all the time. There's a couple bugs that show up but it's really good. Having real local tabs for a remote SSH is great.
- BeefySwain 2y agoAnyone know of a terminal for Linux with this feature?
- fiddlerwoaroof 2y agoI haven’t found a great Linux terminal: it’s one of the things that really makes it hard for me to use Linux
- naikrovek 2y agoWhat? Xterm is amazing.
- coldtea 2y agoParent means with those kind of features something like iTerm has
- fiddlerwoaroof 2y agoiTerm2 has a ton of quality of life features that no alternate terminal comes close to: automatically detecting tables in output and handling copy/paste correctly. Quick navigation between shell prompts, etc. If emacs wasn’t really slow with long lines in buffers and high volume output, it could be better
- naikrovek 2y agoThe correct way to handle copy and paste in a terminal is to copy what is selected verbatim and to paste whatever is in the clipboard verbatim. Interpretation of intent and “helping” the user are neither needed nor desired, and at best leave everything alone and at worst misinterpret and get in the way. I have never copied anything out of a terminal and gotten anything other than what I copied when I pasted into sublime text, and I’ve never used iterm2. Are you talking about copying from a terminal and pasting into OneNote or some other “more than plain text” application or something?
- fiddlerwoaroof 2y agoNo, I’m talking about noticing that you have a tmux or vim split and restricting the selection to one side or another of the split so that you can select the actual text rather than some random nonsensical text. This is the single feature I miss the most in any other terminal emulator.
- naikrovek 2y agoAh, ok. I don’t use tmux or any other multiplexer, I handle that problem differently.
- iforgotpassword 2y agoI prefer manual control. Simply holding down Ctrl while selecting creates a rectangular selection in pretty much every terminal, which works in all those cases.
- DEADMINCE 2y agoPeople tend to get attached to certain methods/ways and then defend that no matter what.
- chalupaman 2y agoAt least in the terminals I’ve used so far, holding down Ctrl causes you select the displayed form, not the verbatim form of what you’re highlighting. That is, if you’re in vim looking at a file with 10 long lines, selecting them this way will only select the portion that fits onto your screen, not the entire lines. And if your editor visually wraps them so they do fit on the screen, selecting this way will introduce unwanted line breaks, such that copying 10 lines and pasting can create 23 lines. The iTerm2 feature being discussed means that selecting works the same way it does for graphical programs like Gedit or Pycharm or Word — if you select 10 lines you select 10 lines and your window size, font size and visual wrap setting don’t factor into it, and when you paste, you paste what you copied as it was. I would say this is the intuitive and reasonable behavior, but it’s one that is not simple to implement. A visual word wrap should be a purely visual thing and s back to back Cut and Paste should result in nothing changing.
- deleted 2y ago[deleted]
- ColCh 2y agoJust wanted to note for everybody who really loves this feature. There is some options here though Wezterm terminal supports multiplexing from the box: https://wezfurlong.org/wezterm/multiplexing.HTML https://wezfurlong.org/wezterm/multiplexing.HTML Also, there is Hyper terminal, and standalone protocol to implement multiplexing https://www.reddit.com/r/commandline/comments/q5mj11/htm_a_cross_platform_alternative_to_tmux_control/ https://www.reddit.com/r/commandline/comments/q5mj11/htm_a_c... If you know other options, please share. I work in windows, but at home I use macos, so I stick to wezterm. I use it with single config for both platforms (config is written in Lua)
- mashrooms 2y agoWezterm does not have good enough multiplexing like tmux. such like you have not easy way to switch/create sessions.