mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-18 06:38:38 +01:00
feat(komorebic): pan the Scrolling layout to the left or the right
komorebic pan <left|right> moves the view along the row of the Scrolling layout by a column without moving focus first, and lets it come to rest with a column against an edge of the screen. Focus goes to the nearest column on the screen if the focused one has gone off it. It does nothing in the other layouts. The way that the view goes is the way that focus goes for the commands that have directions: panning to the left brings what is to the left of the screen into view, which is to move the row to the right. This is a command that a wheel can be bound to, as it is with whkd: alt + wheelup : komorebic pan left.
This commit is contained in:
1 parent
9e99150019
commit
71e8156f78
12 files changed
+261
No files matched your search
@@ -132,6 +132,20 @@ and the screen scrolls back to where it was. If you have, focus goes to the wind
|
||||
on the right, or to the one before it if there is none. A window that is closed without having focus does not take focus
|
||||
with it.
|
||||
|
||||
## Panning
|
||||
|
||||
[`komorebic pan`](../cli/pan.md) moves the view along the row without moving focus first. `pan left` brings what is to the
|
||||
left of the screen into view, and `pan right` what is to the right, by a column. The row
|
||||
comes to rest with a column against an edge of the screen, and focus goes to the nearest column on the screen if the
|
||||
focused one has gone off it.
|
||||
|
||||
```
|
||||
alt + wheelup : komorebic pan left
|
||||
alt + wheeldown : komorebic pan right
|
||||
```
|
||||
|
||||
It does nothing in the other layouts.
|
||||
|
||||
## Resizing
|
||||
|
||||
[`komorebic resize-edge`](../cli/resize-edge.md) and [`komorebic resize-axis`](../cli/resize-axis.md) change the width of
|
||||
|
||||
Reference in new issue
Block a user