add the old snippet md files
This commit is contained in:
parent
fc0dd204c7
commit
bcf8313a4b
110 changed files with 3048 additions and 0 deletions
21
old_snippets/tmux-new.en.md
Normal file
21
old_snippets/tmux-new.en.md
Normal 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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue