prefs_user.config (7651B)
1 source ./dark.config 2 3 # (can be 0 or 1) if set, shows a notification on startup if a new version of sioyek is available 4 check_for_updates_on_startup 0 5 6 # Urls to use when executing external_search commands 7 search_url_s https://scholar.google.com/scholar?q= 8 search_url_l http://gen.lib.rus.ec/scimag/?q= 9 search_url_g https://www.google.com/search?q= 10 11 # Which search url to choose when middle clicking or shift middle clicking on text (the values are the letters of corresponding search_url_* ) 12 # for example if i set `middle_click_search_engine s`, then we use the url associated with `search_url_s` to handle middle click searches 13 middle_click_search_engine s 14 shift_middle_click_search_engine l 15 16 # The factor by which we increase/decrease zoom when performing zoom_in or zoom_out 17 zoom_inc_factor 1.2 18 19 # How many inches we move vertically/horizontally when performing move_* commands 20 vertical_move_amount 1.0 21 horizontal_move_amount 1.0 22 23 # When performing screen_down/screen_up we usually don't move a full screen because it causes the user to lose context 24 # Here we specify the fraction of the screen width by which we move when performing these commands 25 move_screen_ratio 0.5 26 27 # If 0, Table of Contents is shown in a hierarchial tree, otherwise it is a flat list (can improve performance for extremely large table of contents) 28 flat_toc 0 29 30 # If it is 1, when launching the application if we detect multiple monitors, we automatically launch the helper window in second monitor 31 should_use_multiple_monitors 0 32 33 # If the last opened document is empty, load the tutorial pdf instead 34 should_load_tutorial_when_no_other_file 1 35 36 # (deprecated, use `should_launch_new_window` instead) If it is 0, then we use the previous instance of sioyek when launching a new file. 37 # otherwise a new instance is launched every time we open a new file. 38 should_launch_new_instance 1 39 40 # If set, we open a new sioyek window when a new file is opened, otherwise we open the file in the previous window 41 should_launch_new_window 0 42 43 # The command to use when trying to do inverse search into a LaTeX document. Uncomment and provide your own command. 44 # %1 expands to the name of the file and %2 expans to the line number. 45 #inverse_search_command "C:\path\to\vscode\Code.exe" -r -g %1:%2 46 47 48 # 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) 49 visual_mark_next_page_fraction 0.75 50 51 # When moving to the next line using visual marker, this setting determines at which point we move the screen (center of the screen is zero, bottom of the screen is one) 52 visual_mark_next_page_threshold 0.25 53 54 # If set, we display a checkerboard pattern for unrendered pages (by default we display nothing) 55 should_draw_unrendered_pages 0 56 57 # If 0, we use the previous renders for overview window which may cause it to be blurry 58 # if it is 1, we rerender with the proper resolution for overview window which looks better 59 # but may increase power consumption 60 rerender_overview 1 61 62 ## Size of the overview window (1 being as large as the window, valid range is [0, 1]) 63 # overview_size 0.5 0.5 64 65 ## Offset of the center of the overview window ((0,0) being the center of the screen and valid raneg is [-1, 1]) 66 # overview_offset 0.5 0.5 67 68 # Use linear texture filtering instead of nearest-neighbor 69 # Can improve appearance in very high-resolution screens 70 # linear_filter 0 71 72 # If set, we sort the bookmarks by their location instead of their creation time 73 sort_bookmarks_by_location 1 74 75 ## Path to shared.db database file. If not set, we use the default path. 76 ## you can set this to be a file in a synced folder (e.g. dropbox folder) to automatically sync 77 ## sioyek across multiple computers 78 #shared_database_path /some/path/shared.db 79 80 ## Name of the font to use for UI text 81 #ui_font Some Font Name 82 ## Size of the UI font 83 #font_size 20 84 85 ## Semicolon-separated list of command to execute upon sioyek startup 86 # startup_commands toggle_visual_scroll;toggle_dark_mode 87 88 # Normally mouse wheel zooms in on the middle of the screen, but if this is set to 1, we zoom in on the cursor 89 wheel_zoom_on_cursor 0 90 91 ## Font size of the status bar text 92 status_bar_font_size 14 93 94 ## The default size of main window when helper window is closed 95 #single_main_window_size 800 600 96 #single_main_window_move 100 100 97 98 ## 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 99 #main_window_size 800 600 100 #main_window_move 100 100 101 #helper_window_size 800 600 102 #helper_window_move 100 100 103 104 ## Touchpad/scrollwhell sensitivity 105 #touchpad_sensitivity 1.0 106 107 case_sensitive_search 0 108 109 # Ratio of page width to use for `fit_to_page_width_ratio` command 110 fit_to_page_width_ratio 0.75 111 112 # If set, we initially collapse table of content entries 113 collapsed_toc 0 114 115 # If set, we highlight the current line in visual_scroll_mode by masking above and below the current line 116 # if not set, we only mask below the line 117 ruler_mode 1 118 119 # Additional ruler padding 120 ruler_padding 1.0 121 ruler_x_padding 5.0 122 123 ## We use mupdf to determine lines for visual mark. However, we do have a custom algorithm for image documents 124 ## if `force_custom_line_algorithm` is 1, then we use our custom algorithm instead of mupdf even for documents 125 ## that have lines. 126 #force_custom_line_algorithm 0 127 128 # A directory which sioyek watches for new papers. If a new paper added to this directory 129 # while we are creating a portal from another document, this new document will automatically 130 # be used as the destination of the portal. 131 #paper_folder_path /some/path 132 133 # Enable some experimental features, might not be stable 134 #enable_experimental_features 0 135 136 # Automatically create a table of contents for the document if it doesn't already have one 137 create_table_of_contents_if_not_exists 1 138 139 # Limits the maximum size of created table of contents 140 max_created_toc_size 5000 141 142 # type "command %" instead of "command <S-%>" 143 use_legacy_keybinds 0 144 145 # indexes the document text and considerably speeds of searching 146 super_fast_search 1 147 148 # displays a statusbar message when we are close to a portal. 149 show_close_portal_in_statusbar 1 150 151 hover_overview 0 152 153 # Warn the user on the command line only when redefining keys inside 154 # the same file. When set to 1, sioyek will warn when redefining keys 155 # from other files also 156 should_warn_about_user_key_override 1 157 158 # Use double clicks to select entire words and single clicks for character-based selection 159 single_click_selects_words 0 160 161 # A prefix to prepend to items in lists (e.g. bookmark lists) 162 #item_list_prefix > 163 164 ## In presentation mode, ignore whitespace when trying to determine the size of a page 165 #ignore_whitespace_in_presentation_mode 0 166 167 ## In list of recent documents, show the entire document path rather than just the name 168 #show_doc_path 0 169 170 # Show long menu items in multiple lines instead of truncating the string, can reduce performance for 171 #very large lists 172 multiline_menus 1 173 174 # While in present mode, prerender the next page to avoid flickering 175 prerender_next_page_presentation 1 176 177 ## Custom commands to run when clicking or right clicking when modifier keys are pressed 178 ## the command can be any built-in sioyek command (e.g. overview_under_cursor) or user-defined 179 ## commands defined using `new_command` 180 # shift_click_command some_command 181 # control_click_command some_command 182 # alt_click_command some_command 183 # shift_right_click_command some_command 184 # control_right_click_command some_command 185 # alt_right_click_command some_command 186