6 ms·
Might be a dumb question, how do you split the terminal vertically or horizontally, and hide and un-hide the split terminals on Terminal.app? Without tmux or sc
by nullspace 7y ago
Might be a dumb question, how do you split the terminal vertically or horizontally, and hide and un-hide the split terminals on Terminal.app? Without tmux or screen.
I have tried Terminal.app multiple times, but have come back to iTerm2 every time because I've not been able to figure out how to do that.
- tambourine_man 7y agoI can’t be done.
- tbrock 7y agoCmd + D Cmd + Shift + D Or better yet, just use tmux!
- Skunkleton 7y agoDisclaimer: I'm not poking at iTerm, its my MacOS terminal emulator of choice. Why _not_ use tmux? It is pretty fantastic software, and IMO provides a much better interaction model. iTerm itself is even integrated w/ tmux through control mode.
- tbrock 7y agoMost people do, learn tmux and you have a cross platform asset instead of a throwaway platform specific skill.
- coldtea 7y agoOr optimize for the platform you actually own and spend time on, and don't build BS cross platform skillsets "just in case". If at some point you move to Linux or Windows, you can learn tmux proper there. No reason to resort to lower common denominator behavior just to get a "cross platform asset".
- nullspace 7y agoHah - I probably should! I've been impressed every time I see coworkers using it. Especially suspending and unsuspending remote sessions and everything. When I'm on linux I end up using Konsole or Terminator (depending on the env) which support this functionality. So other than the saving remote sessions - which looks really cool - I've not had a strong impetus to learn tmux.
- Skunkleton 7y agoIts worth learning IMO. There is a learning curve, and the default configuration is unfriendly. If you are interested here are some things I found helpful: 1) Rebind the prefix key from ctrl-b to ctrl-space. 2) Map alt-h,alt-j,alt-k,alt-l to move between window panes. 3) Remap the split keys to something more accessible. 4) Start numbering windows at 1 instead of 0 (makes switching more intuitive imo). 5) Steal a simple configuration for the status bar from the internet. Beyond that, the defaults are pretty straightforward, and you don't really need to know much to get started. I can share my config if someone is interested.
- Chlorus 7y agoBecause the way it handles copy/pasting to the native OS clipboard with multiple panes annoys the hell out of me? https://news.ycombinator.com/item?id=7758368 https://news.ycombinator.com/item?id=7758368 Also, not really a Tmux problem, but every so often I'll encounter some wacky behaviors with scrollback & when doing cursor selections via PuTTy from my windows boxes.