27 lines
703 B
Markdown
Executable File
27 lines
703 B
Markdown
Executable File
---
|
|
tags: [linux]
|
|
title: Tmux
|
|
created: '2021-12-05T22:45:44.151Z'
|
|
modified: '2021-12-05T22:46:14.308Z'
|
|
---
|
|
|
|
# Tmux
|
|
|
|
### Window operations
|
|
- `ctrl+b c` - spawn new window
|
|
- `ctrl+b n` - move to next window
|
|
- `ctrl+b p` - move to previous window
|
|
- `ctrl+b 0..9` - switch to window by number
|
|
- `ctrl+b x` - kill current window
|
|
|
|
### Panes
|
|
- `ctrl+b %` - spawn new pane horizontally
|
|
- `ctrl+b "` - spawn new pane vertically"
|
|
- `ctrl+b arrow_key` - switch through panes
|
|
- `ctrl+b ctrl + arrow_key` - resize pane
|
|
- `ctrl+b o` - switch to next pane
|
|
- `ctrl+b loong o` - switch panes :sunglasses:
|
|
- `ctrl+b space` - toggle pane layouts
|
|
- `ctrl+b !` - convert pane into a window
|
|
- `ctrl+b x` - kill current pane
|