add the old snippet md files

This commit is contained in:
Travis Shears 2025-06-05 16:20:57 +02:00
parent fc0dd204c7
commit bcf8313a4b
110 changed files with 3048 additions and 0 deletions

View file

@ -0,0 +1,21 @@
---
title: "mutliplex all the shells"
date: 2020-01-11T04:59:56+01:00
draft: false
snippet_types: ["tmux"]
---
```shell
$ tmux new -s 'example_session_name'
```
Creates a new tmux session with the name 'example_session_name' which is very powerful and will
exist even if you close out of the terminal.
Once you launch use **\<Ctrl + ">** to split the window horizontally or **\<Ctrl + %>** for
vertically split and moving between windows with **\<Ctrl - Vim_Direction>**
You can detach and go back to shell at any time with **\<Ctrl + d>** then reattach later with
**tmux new-s 'example_session_name'**. If you forget the name a simple **tmux ls** show running
sessions.
[cheat sheet](https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History)