DEV Community

Discussion on: Why I *love* TMUX

Collapse
 
patryktech profile image
Patryk

Tmux is the best. I usually have one open terminal tab per project I am currently working on, and tmux in there with a 4 pane split... One where I run docker-compose up (without daemonizing, since I often want to kill / rebuild / restart containers e.g. when changing dependencies), one for git, one for bash inside my python / Django container (for migrations, startapp, pytest etc.), and one for my node.js container (for jest, yarn add ..., etc.)

My favourite thing is to also use a drop-down terminal (yakuake, as I use KDE, but you can also use guake for Gnome). Then I can just toggle my terminal with F12, and easily switch from the terminal to VSCode or Chrome, and vice-versa.

Collapse
 
antjanus profile image
Antonin J. (they/them)

I've seen that setup! One of my colleagues (maybe 2 actually?) sets up a grid of terminals that run everything that you might want to glance at and then edits in one big terminal.

I'm not a huge fan of drop-down terminals but I guess that's because the terminal is my entire workspace -- including editing.

Collapse
 
patryktech profile image
Patryk

I'm not a huge fan of drop-down terminals but I guess that's because the terminal is my entire workspace -- including editing.

Yeah, it would probably annoy me if I used vim for entire projects. I only use it for quickly editing a handful of files, or on remote servers.