Commit 4334e34d authored by Mohcine Chraibi's avatar Mohcine Chraibi

screenshot

parent cb1b51a3
![](tmux_screen.png)
# Configuration of tmux
1. Clone project and copy files to HOME
Clone project and copy files to HOME
```
mkdir tmp_tmux
......@@ -10,37 +12,48 @@ rm -r tmp_tmux
tmux
```
# Nomenclatur
- `Window`: like tabs
- `Pane`: a window can be splited in sub-windows
- `Ctrl`: Control key
- `Alt`: Alt key
- `Ctrl-a`: type `a` while holding `Ctrl`
# Keystrokes
- `Ctrl-a r`: refresh tmux after changing `.tmux.conf`
## General
- `Ctrl-a c`: new window
- `Ctrl-a ,`: change name of the window
- `Ctrl-a v`: split vertically
- `Ctrl-a h`: split horizontally
- `Ctrl-a [`: enter text-mode to navigate the window (`q` to exit)
- `Ctrl-a z`: full screen on selected pane
- `Ctrl-a x`: close windows (answer question with y)
- `Ctrl-a [`: enter text-mode to navigate the window (`q` to exit)
- `Ctrl-a r`: refresh tmux after changing `~/.tmux.conf`
## Navigation windows
- `Ctrl-a c`: new window
- `Ctrl-p`: previous window
- `Ctrl-n`: next window
- `Ctrl-arrow`: navigate panes (up, down, left, right)
- `Ctrl-number`: number of window
- `Ctrl-number`: select windo with `number`
## Copy text
- Enter text-mode with `Ctrl-a [`
- `Ctrl-space`
- move with arrows to mark text
- `Alt-w`: copy
- `Ctrl-y`: paste
- `Ctrl-a ]`: paste
## Search
- Enter text mode with `Ctrl-[`
- `Ctrl-s`: start searching forwards
- `Ctrl-r`: start searching backwards
- `Ctrl-s`: searching forwards
- `Ctrl-r`: searching backwards
![](tmux1.mov)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment