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.
This commit is contained in:
Marty Oehme 2023-10-05 18:27:13 +02:00
parent 558b0fa479
commit 378541df7e
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A

View file

@ -1,4 +1,7 @@
noop <C-w> noop <C-w>
noop q
close_window q
open_document_embedded o open_document_embedded o
toggle_custom_color <C-r> toggle_custom_color <C-r>
@ -11,8 +14,12 @@ screen_down <C-d>
previous_page <C-b> previous_page <C-b>
next_page <C-f> next_page <C-f>
next_state L next_state {
prev_state H prev_state }
move_down j
move_up k
move_left l
move_right h
fit_to_page_width S fit_to_page_width S
fit_to_page_width_smart s fit_to_page_width_smart s
@ -23,8 +30,12 @@ embed_annotations <C-s>
toggle_statusbar <C-n> toggle_statusbar <C-n>
keyboard_select;add_highlight_with_current_type V
regex_search / regex_search /
copy y copy y
rotate_clockwise R rotate_clockwise R
keyboard_select;add_highlight_with_current_type V
add_highlight H
goto_prev_highlight [h
goto_next_highlight ]h