oliverdavies.uk/source/_daily_emails/2023-04-08.md

22 lines
963 B
Markdown
Raw Permalink Normal View History

2024-01-03 20:00:00 +00:00
---
title: >
2024-09-08 22:09:54 +00:00
Why I use tmux
2024-01-03 20:00:00 +00:00
pubDate: 2023-04-08
permalink: >-
daily/2023/04/08/why-i-use-tmux
2024-01-03 20:00:00 +00:00
tags:
2024-09-08 22:09:54 +00:00
- tmux
2024-01-03 20:00:00 +00:00
---
tmux is a "terminal multiplexer" - a program that makes one terminal window into many.
I use the terminal a lot and am often switching between codebase so this is very useful for me.
I use a different session for each codebase. If I'm working on one and need to switch to another, I can detatch from one session and attach to another. Later, when I'm ready to switch back, I do the same again.
I usually have multiple windows inside a session. Neovim will be in the main one, and I can run separate commands - especially long-running ones like watchers - with their own windows.
If I need to split a window and have Neovim on the left and a terminal for running tests on the right, I can do this with different panes.
Being able to organise my workspace in this way has become a big part blogof my development workflow and my productivity.