Skip to content

Latest commit

 

History

History
122 lines (108 loc) · 2.34 KB

File metadata and controls

122 lines (108 loc) · 2.34 KB

aerospace-move(1)

Synopsis

aerospace move [-h|--help] [--window-id <window-id>] (left|down|up|right)

Description

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>

./util/window-id-flag-desc.adoc

  1. Given this layout

    h_tiles
    ├── window 1 (focused)
    └── window 2

    move right will result in the following layout

    h_tiles
    ├── window 2
    └── window 1 (focused)
  2. Given this layout

    h_tiles
    ├── window 1
    ├── window 2 (focused)
    └── v_tiles
        ├── window 3
        └── window 4

    move right will result in the following layout

    h_tiles
    ├── window 1
    └── v_tiles
        ├── window 3
        ├── window 2 (focused)
        └── window 4
  3. Given this layout

    h_tiles
    ├── window 1
    └── v_tiles
        ├── window 3
        ├── window 2 (focused)
        └── window 4

    move left will result in the following layout

    h_tiles
    ├── window 1
    ├── window 2 (focused)
    └── v_tiles
        ├── window 3
        └── window 4
  4. Implicit container example

    In some cases, move needs to implicitly create a container to fulfill your command.

    Given this layout

    h_tiles
    ├── window 1
    ├── window 2 (focused)
    └── window 3

    move up will result in the following layout

    v_tiles
    ├── window 2 (focused)
    └── h_tiles
        ├── window 1
        └── window 3

    v_tiles is an implicitly created container.