docs: add swap to example config script

This commit is contained in:
Isaac Freund 2020-10-25 17:31:10 +01:00
parent ac1762567c
commit 0c7b0de297
No known key found for this signature in database
GPG key ID: 86DED400DDFD7A11

View file

@ -16,6 +16,11 @@ riverctl map normal $mod E exit
riverctl map normal $mod J focus-view next
riverctl map normal $mod K focus-view previous
# Mod+Shift+J and Mod+Shift+K to swap the focused view with the next/previous
# view in the layout stack
riverctl map normal $mod+Shift J swap next
riverctl map normal $mod+Shift K swap previous
# Mod+Period and Mod+Comma to focus the next/previous output
riverctl map normal $mod Period focus-output next
riverctl map normal $mod Comma focus-output previous