# you can specify the exact highlight color for each of 26 different highlight types
# When moving to the next line using visual marker, this setting specifies the distance of the market to the top of the screen in fractions of screen size (center of the screen is zero, top of the screen is one)
visual_mark_next_page_fraction 0.75
# When moving to the next line using visual marker, this setting determines at which point we move the screen (center of the screen is one, bottom of the screen is zero)
visual_mark_next_page_threshold 0.25
# If set, we display a checkerboard pattern for unrendered pages (by default we display nothing)
should_draw_unrendered_pages 0
# If 0, we use the previous renders for overview window which may cause it to be blurry
# if it is 1, we rerender with the proper resolution for overview window which looks better
# but may increase power consumption
rerender_overview 1
## Size of the overview window (1 being as large as the window, valid range is [0, 1])
# overview_size 0.5 0.5
## Offset of the center of the overview window ((0,0) being the center of the screen and valid raneg is [-1, 1])
# overview_offset 0.5 0.5
# Use linear texture filtering instead of nearest-neighbor
# Can improve appearance in very high-resolution screens
# linear_filter 0
# Use dark mode by default (deprecated, better add `toggle_dark_mode` to `startup_commands` )
default_dark_mode 0
# If set, we sort the bookmarks by their location instead of their creation time
sort_bookmarks_by_location 1
## Path to shared.db database file. If not set, we use the default path.
## you can set this to be a file in a synced folder (e.g. dropbox folder) to automatically sync
## sioyek across multiple computers
#shared_database_path /some/path/shared.db
## Name of the font to use for UI text
#ui_font Some Font Name
## Size of the UI font
#font_size 20
## Semicolon-separated list of command to execute upon sioyek startup
startup_commands toggle_statusbar
## Background color to use when executing `toggle_custom_color`
custom_background_color 0.180 0.204 0.251
## Text color to use when executing `toggle_custom_color`
custom_text_color 0.847 0.871 0.914
# Normally mouse wheel zooms in on the middle of the screen, but if this is set to 1, we zoom in on the cursor
wheel_zoom_on_cursor 0
## Color of status bar background
#status_bar_color 0 0 0
## Color of status bar text
#status_bar_text_color 1 1 1
## Font size of the status bar text
#status_bar_font_size 20
## The default size of main window when helper window is closed
#single_main_window_size 800 600
#single_main_window_move 100 100
## The default size/offset of main/helper window when helper window is opened. You can copy the value of this config using `copy_window_size_config` command
#main_window_size 800 600
#main_window_move 100 100
#helper_window_size 800 600
#helper_window_move 100 100
## Touchpad/scrollwhell sensitivity
#touchpad_sensitivity 1.0
## Configure the appearance of page separator
#page_separator_width 2
#page_separator_color 0.9 0.9 0.9
# Ratio of page width to use for `fit_to_page_width_ratio` command
fit_to_page_width_ratio 0.75
# If set, we initially collapse table of content entries
collapsed_toc 0
# If set, we highlight the current line in visual_scroll_mode by masking above and below the current line
# if not set, we only mask below the line
ruler_mode 1
# Additional ruler padding
ruler_padding 1.0
ruler_x_padding 5.0
## We use mupdf to determine lines for visual mark. However, we do have a custom algorithm for image documents
## if `force_custom_line_algorithm` is 1, then we use our custom algorithm instead of mupdf even for documents
## that have lines.
#force_custom_line_algorithm 0
# A directory which sioyek watches for new papers. If a new paper added to this directory
# while we are creating a portal from another document, this new document will automatically
# be used as the destination of the portal.
#paper_folder_path /some/path
# Enable some experimental features, might not be stable
#enable_experimental_features 0
# Automatically create a table of contents for the document if it doesn't already have one
create_table_of_contents_if_not_exists 1
# Limits the maximum size of created table of contents
max_created_toc_size 5000
# Warn the user on the command line only when redefining keys inside
# the same file. When set to 1, sioyek will warn when redefining keys
# from other files also
should_warn_about_user_key_override 1
# Use double clicks to select entire words and single clicks for character-based selection
single_click_selects_words 0
# A prefix to prepend to items in lists (e.g. bookmark lists)
#item_list_prefix >
## In presentation mode, ignore whitespace when trying to determine the size of a page
#ignore_whitespace_in_presentation_mode 0
## In list of recent documents, show the entire document path rather than just the name
#show_doc_path 0
# Show long menu items in multiple lines instead of truncating the string, can reduce performance for
#very large lists
multiline_menus 1
# While in present mode, prerender the next page to avoid flickering
prerender_next_page_presentation 1
## Custom commands to run when clicking or right clicking when modifier keys are pressed
## the command can be any built-in sioyek command (e.g. overview_under_cursor) or user-defined
## commands defined using `new_command`
# shift_click_command some_command
# control_click_command some_command
# alt_click_command some_command
# shift_right_click_command some_command
# control_right_click_command some_command
# alt_right_click_command some_command
# Highlight on middle clicks when text is selected and no preview is open
#highlight_middle_click 1
# Use a super fast index for search instead of the mupdf's implementation