# you can edit this file to change keybindings lines that start with '#' are comments # the syntax is pretty simple. Some examples: #command k (command is executed when k is pressed) #command (command is executed when k is pressed while holding control) #command (command is executed when k is pressed while holding shift) #command (command is executed when k is pressed while holding alt) #command (command is executed when = is pressed while holding shift. # Note that would not work because of a bug in the command system so # when prefixing non-ascii keys with shift, you have to specify the shift # modified key in addition to the shift modifier) #command (command is executed when k is pressed while holding control and shift) #command gg (command is executed when g is pressed twice) #command gt (command is executed when g is pressed and then t is pressed) #command gt (command is executed when g is pressed and then n is pressed while holding\ # control and then d is pressed while holding shift and then t is pressed) # ---------- NAVIGATION AND ZOOM ---------- # Goto the begining of document. If prefixed with a number, it will go to that page. # for example 150gg goes to page 150. goto_begining gg goto_begining > # Opens a prompt to enter page number and jump to that page goto_page_with_page_number # Goto the end of the document goto_end goto_end # movement (can be prefixed with a number) move_down move_up move_left move_right move_down j move_up k move_left l move_right h # Goto forward for one page width. (can be prefixed with a number) # (note that going forward for one page width is not usually what you want becaue if # the page is larger than the screen you will miss some content. What you usually want is screen_down) next_page > previous_page > # Go down one screen width (can be prefixed with a number which tells how many screen widths should we go down) screen_down screen_up screen_down screen_up # Goto the next/prev chapter next_chapter gc prev_chapter g # Goto previous viewing state and delete the current (and future) state(s). pop_state w # if we are not at the end of viewing history, goto the next history point next_state # goto the previous history point prev_state prev_state next_state > prev_state > # Open table of contents. goto_toc t # zoom zoom_in zoom_in = zoom_out - # Automatically set the zoom level and horizontal offset such that the current page is centered horizontally and # it fills the screen width fit_to_page_width # same as fit_to_page_with but ignores page margins fit_to_page_width_smart # Open a file dialog to select a document. open_document o open_document_embedded open_document_embedded_from_current_path # Open a searchable list of previously opened documents. open_prev_doc # ---------- SEARCH ---------- # search the document. # example: /something (searches the document for 'something') # you can also specify a page range to search: # example: /<110,135>something (searches pages 110 to 135 (inclusive) for 'something') search search / # this is the same as search. ranged_search r ranged_search r/ # searches the current chapter. This is essentially the same as search but the range prefix is autofilled # with the range of the current lowest level subchapter. chapter_search c chapter_search c/ # Goto the next search item. Can be prefixed with a number which is the same as performing the command n times # for example if we are on the 10th search result and we input 15n, we go to the 25th search result. next_item n # Goto the previous search result. Can be prefixed with a number with similar rules as next_item. previous_item # ---------- BOOKMARKS ---------- # Add a bookmark in the current location (opens a text input where you can specify the bookmark text) add_bookmark b delete_bookmark db # Open bookmarks menu of the current document. goto_bookmark gb # Open bookmarks menu of all documents. goto_bookmark_g g # ---------- HIGHLIGHTS ---------- # you can select a piece of text and press the `add_highlight` shortcut followed by a symbol (a character from a-z) to highlight # the text add_highlight h # search in highlights of current document goto_highlight gh # search in highlights of all documents goto_highlight_g g # click on a highlight and then press the `delete_highlight` shortcut to delete it. delete_highlight dh # ---------- MARKS ---------- # Mark the current location. After pressing the mark button, you must enter a symbol (a letter from a-z or A-Z). # this marks the current location in the file with the entered symbol. Afterwards you will be able to return to # the locations of the marks using goto_mark command. # example: mm (marks the current location in the file with a mark named 'm') set_mark m # Goto a previously set mark. After pressing goto_mark you must enter a symbol associated with a previously set mark. # example: `m (goes to the location of the mark named m) goto_mark ` # ---------- PORTALS ---------- # If we are in default state, goto portal state with the current location in document as the portal source # if we are already in the portal state, create the portal with the current location as destination. link p # Delete the portal with the closest source to current location delete_link dp # Goto the position of the portal with the closest source to current location goto_link # Similar to goto_link, except when prev_state is called, the destination of the link is update to be the state # on which prev_state is called edit_link edit_link > # Open/Close the helper window for portals toggle_one_window # ---------- MISC ---------- # copy selected text copy y toggle_fullscreen # Toggles whether we highlight pdf links or not toggle_highlight # open command line command # seach the selected text using one of the search engines defined using search_url_* settings in prefs.config (* can be any letter between 'a' and 'z') external_search s #search_selected_text_in_google_scholar ss #search_selected_text_in_libgen sl open_selected_url toggle_dark_mode # toggle synctex mode. When in synctex mode, right clicking on a pdf launches the corresponding latex page. toggle_synctex # while in mouse drag mode, instead of selecting text you can pan the screen using mouse toggle_mouse_drag_mode # command the move the visual mark to the next/previous line #move_visual_mark_up k #move_visual_mark_down j # In visual scroll mode, mouse wheel performs `move_visual_mark_up` and `move_visual_mark_down` commands toggle_visual_scroll toggle_presentation_mode quit q