From 378541df7ef7765b35a47990728df156b0d01673 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Thu, 5 Oct 2023 18:27:13 +0200 Subject: [PATCH] sioyek: Add mappings for page/highlight movement Added hjkl mappings to scroll within pages. Added movement between highlights with `]h/[h`, although I am not sure it works in both directions with these mappings. --- writing/.config/sioyek/keys_user.config | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/writing/.config/sioyek/keys_user.config b/writing/.config/sioyek/keys_user.config index a13cfc7..5f78e20 100644 --- a/writing/.config/sioyek/keys_user.config +++ b/writing/.config/sioyek/keys_user.config @@ -1,4 +1,7 @@ noop +noop q +close_window q + open_document_embedded o toggle_custom_color @@ -11,8 +14,12 @@ screen_down previous_page next_page -next_state L -prev_state H +next_state { +prev_state } +move_down j +move_up k +move_left l +move_right h fit_to_page_width S fit_to_page_width_smart s @@ -23,8 +30,12 @@ embed_annotations toggle_statusbar -keyboard_select;add_highlight_with_current_type V - regex_search / copy y rotate_clockwise R + +keyboard_select;add_highlight_with_current_type V +add_highlight H + +goto_prev_highlight [h +goto_next_highlight ]h