nix/config/sioyek/keys_user.config

65 lines
1.7 KiB
Text

# Sioyek user keybindings
# Vim-like keybindings
# Navigation - use visual mark commands (works as scroll when no mark exists)
move_visual_mark_down j
move_visual_mark_up k
move_left h
move_right l
# Page navigation
next_page J
previous_page K
screen_down <C-d>
screen_up <C-u>
goto_page_with_page_number g
# Scroll
screen_down <space>
screen_up <S-space>
# Search
search /
next_item n
prev_item N
# Zoom
zoom_in +
zoom_in =
zoom_out -
fit_to_page_width w
fit_to_page_width_smart e
# Bookmarks
add_bookmark m
goto_bookmark '
# Highlights - mouse select text, then h + letter for color
add_highlight H
goto_next_highlight ]h
goto_prev_highlight [h
delete_highlight dh
# Table of contents
goto_toc t
# Visual mark - right-click or v to create, then j/k to move
visual_mark_under_cursor v
toggle_visual_scroll <F7>
# Synctex (for LaTeX integration)
synctex_under_cursor <C-click>
# Color mode toggle
toggle_dark_mode <C-i>
toggle_custom_color <C-r>
# Open/close
quit q
open_document o
# Portal (linked view)
portal p
# Overview (thumbnail view)
overview <tab>