Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add showcase gif for swapping windows #26

Merged
merged 2 commits into from
Nov 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,16 +303,17 @@ others suit your needs then by all means use them.

## Showcase

### Moving around windows

> [!IMPORTANT]
> Moving windows takes into account the cursor position of the current window
> relative to the target window in the direction you are moving.
> Moving and swapping windows takes into account the cursor position of the
> current window relative to the target window in the direction you are moving
> or swapping.
>
> For example, if your cursor position is closest to the bottom of one window in
> the target direction, the window will be moved below that window. See
> the target direction, the window will be moved below that window. See
> [this example](#moving-using-relative-cursor-position) for a visual explanation.

### Moving around windows

https://github.com/user-attachments/assets/417023dd-9d5d-4ae9-891d-514e0f3038d5

### Moving using relative cursor position
Expand All @@ -326,6 +327,12 @@ windows, splitting into a window will move it next to a target window.

https://github.com/user-attachments/assets/4bf49e27-d08b-4926-9f17-57bf2e702c64

### Swapping windows

https://github.com/user-attachments/assets/6d9986cb-0e18-4dc4-9b02-70ff5683a579

https://github.com/user-attachments/assets/195cde61-5382-4eea-9dcb-2eb012771d16

### Resizing windows

https://github.com/user-attachments/assets/8f77c9c4-dca1-4647-9049-8695e5351431
Expand Down