Merge branch 'master' of git.veypi.com:veypi/mynote
This commit is contained in:
commit
5b13ae9b02
27
linux/tmux.md
Normal file
27
linux/tmux.md
Normal file
@ -0,0 +1,27 @@
|
||||
# tmux
|
||||
|
||||
|
||||
## tlayout
|
||||
|
||||
```bash
|
||||
|
||||
#! /bin/sh
|
||||
#
|
||||
# tenv.sh
|
||||
# Copyright (C) 2023 veypi <i@veypi.com>
|
||||
#
|
||||
# Distributed under terms of the MIT license.
|
||||
#
|
||||
|
||||
|
||||
s=$1
|
||||
tmux new-session -s $s -n f -d
|
||||
# tmux send-keys -t $s 'p' C-m
|
||||
|
||||
tmux split-window -v -p 70 -t $s:1.1
|
||||
tmux split-window -h -p 70 -t $s:1.2
|
||||
tmux split-window -h -p 70 -t $s:1.1
|
||||
tmux attach -t $1
|
||||
|
||||
|
||||
```
|
||||
Loading…
x
Reference in New Issue
Block a user