Move the focused window in the given direction. See the "Examples" section for more details.
Deprecated name: move-through
- -h, --help
-
Print help
- --window-id <window-id>
-
Given this layout
h_tiles ├── window 1 (focused) └── window 2
move rightwill result in the following layouth_tiles ├── window 2 └── window 1 (focused)
-
Given this layout
h_tiles ├── window 1 ├── window 2 (focused) └── v_tiles ├── window 3 └── window 4move rightwill result in the following layouth_tiles ├── window 1 └── v_tiles ├── window 3 ├── window 2 (focused) └── window 4 -
Given this layout
h_tiles ├── window 1 └── v_tiles ├── window 3 ├── window 2 (focused) └── window 4move leftwill result in the following layouth_tiles ├── window 1 ├── window 2 (focused) └── v_tiles ├── window 3 └── window 4 -
Implicit container example
In some cases,
moveneeds to implicitly create a container to fulfill your command.Given this layout
h_tiles ├── window 1 ├── window 2 (focused) └── window 3
move upwill result in the following layoutv_tiles ├── window 2 (focused) └── h_tiles ├── window 1 └── window 3v_tilesis an implicitly created container.