3 ms·
I usually use panes to do things in the same folder or related to the same purpose but which I want/need in different shells. Possible example is visual compari
by vient 3y ago
I usually use panes to do things in the same folder or related to the same purpose but which I want/need in different shells. Possible example is visual comparing files or outputs. Also useful when you run some monitoring in another shell - my recent example was debugging build system rules by running cmake+make in one pane and immediately seeing what options are passed to compiler by running execsnoop in another pane. Or you may find useful small panes with something like `watch grep ...` or `watch df -h` etc.
My tmux setup looks like this: one session - bunch of windows for different purposes (for example, developing different projects), no more than 10 so you can switch between them with digit shortcuts, renamed for convenience - each window may have several panes, usually one is maximized but you can "unmaximize" it and look what was printed in other panes before (so one usage of pane is a temporary buffer for output) or run something there.