I understand using console window managers when logged into a headless system where you don't otherwise have access to a UI, but I'm baffled by the desire to use console-based window managers within well defined GUI like OS X. In OS X, there are multitudes of tools to allow you to manage windows. Spectacle is a simple one, Slate is extremely customizable. Why not use the built-in OS X window manager to manager variou…
Workflow in tmux
21–30 of 62 posts
Re: Workflow in tmux
#22Note that I use byobu to front end things, and when using screen this can easily be done. I have seen workarounds that involve using multiple copies of tmux talking to each other in various heroic configurations but that is silly.
Re: Workflow in tmux
#23I understand using console window managers when logged into a headless system where you don't otherwise have access to a UI, but I'm baffled by the desire to use console-based window managers within well defined GUI like OS X. In OS X, there are multitudes of tools to allow you to manage windows. Spectacle is a simple one, Slate is extremely customizable. Why not use the built-in OS X window manager to manager variou…
it is lightweight, contained, and excellent if you have a "unix-like" workflow. Typically I'll have a watch script, server, and vim in a given window, and it is super compact. Some cons are probably the learning curve required to see any advantage, and the fundamental lack of any respect for mousing, which can be in the pro column for many.
The biggest problem I have with tmux is vertical splits don't work with native copy-paste because the selection goes across both panes. Using multiple terminal windows, on the other hand, doesn't have that issue.
Re: Workflow in tmux
#24Earlier quoted context omitted.
The status bar with the arrow breadcrumbs is powerline: https://github.com/Lokaltog/powerline There are bindings for tmux, bash, zsh, vim, and ipython (among others).
The status bar with the arrow breadcrumbs _looks like_ powerline. If you read his tmux config, he's not actually using powerline, he just duplicated the appearance.
Re: Workflow in tmux
#25The single most irritating thing about tmux is that viewers have to look at the same window or whatever it is called. My typical usage pattern is to connect twice, have one window where there is a long running task I want to monitor and a second where I am typing commands. But I can't show one in one connection and the other in the other connection. Note that I use byobu to front end things, and when using screen thi…
Re: Workflow in tmux
#26I understand using console window managers when logged into a headless system where you don't otherwise have access to a UI, but I'm baffled by the desire to use console-based window managers within well defined GUI like OS X. In OS X, there are multitudes of tools to allow you to manage windows. Spectacle is a simple one, Slate is extremely customizable. Why not use the built-in OS X window manager to manager variou…
Re: Workflow in tmux
#27Re: Workflow in tmux
#28I started using tmux.. then switched to stumpwm which is too awesome to explain here. Embrace the full power of emacs and your Window Manager.
Re: Workflow in tmux
#29The single most irritating thing about tmux is that viewers have to look at the same window or whatever it is called. My typical usage pattern is to connect twice, have one window where there is a long running task I want to monitor and a second where I am typing commands. But I can't show one in one connection and the other in the other connection. Note that I use byobu to front end things, and when using screen thi…
I always have two copies of tmux running, for this very reason. Someone out there surely must have a better solution.
First, terminology. I know that tmux has: servers, clients, windows, sessions, and panes, but I've never bothered to understand how they fit together.
* server - The server is a process that listens on a unix socket, and accepts connections from clients. Each server manages one or more sessions, which is a grouping of windows.
* client - A terminal connected to the server. Each client connects to a single session on the server.
* session - A collection of windows on a server.
Each session has a single 'active window.' When you connect two clients to a single session, switching the current active window affects what both clients see.
Solution:
Windows can be shared between sessions, and a single window can be present in multiple sessions. This culminates in a tmux feature called "grouped sessions" where multiple sessions are linked and share the same windows. You can use this command:
tmux new-session -t session-id
source: http://unix.stackexchange.com/questions/24274/attach-to-diff...Re: Workflow in tmux
#30OT: Tmux/Screen are a little bit RSI inducing to me, to be used effectively. Any tips?
Remap caps lock to be a ctrl key, then preferably remap your prefix key to a. Caps+a is way easier to type.