commit 60a773b02e1f954f45c0cc0cbc6f360b15e6986d
parent 67c3b8dd61bfa0e3e140e8e3c9b95a39f65d9a61
Author: Alex Balgavy <alex@balgavy.eu>
Date: Fri, 2 Sep 2022 12:36:13 +0200
sioyek: keybindings
Diffstat:
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/sioyek/keys_user.config b/sioyek/keys_user.config
@@ -42,9 +42,6 @@ goto_page_with_page_number <home>
goto_left_smart <S-^>
goto_right_smart <S-$>
-# Goto the top-right side of page. Usefull for two column documents
-goto_top_of_page;goto_right_smart zz
-
# Movement (can be prefixed with a number)
# move_down <down>
# move_up <up>
@@ -118,9 +115,13 @@ rotate_counterclockwise <S-r>
# Automatically set the zoom level and horizontal offset such that the current page is centered horizontally and
# it fills the screen width
-fit_to_page_width w
+fit_to_page_width zw
# Same as fit_to_page_with but ignores page margins
-fit_to_page_width_smart <S-w>
+fit_to_page_width_smart z<S-w>
+fit_to_page_height zh
+fit_to_page_height_smart z<S-h>
+# Goto the top-right side of page. Usefull for two column documents
+goto_top_of_page;goto_right_smart zr
## Same as fit_to_page_width_smart, but instead of filling the screen width, it fills the ratio of screen that is
## configured in `prefs_user.config` using `fit_to_page_width_ratio` config. See https://github.com/ahrm/sioyek/issues/162#issuecomment-1059738730.