presenterm.config.yaml
1 --- 2 # yaml-language-server: $schema=https://raw.githubusercontent.com/mfontanini/presenterm/master/config-file-schema.json 3 defaults: 4 terminal_font_size: 16 5 theme: gruvbox-dark 6 image_protocol: kitty-local 7 8 typst: 9 ppi: 300 10 11 mermaid: 12 scale: 2 13 14 options: 15 # whether slides are automatically terminated when a slide title is found. 16 implicit_slide_ends: false 17 18 # the prefix to use for commands. 19 command_prefix: "" 20 21 # show all lists incrementally, by implicitly adding pauses in between elements. 22 incremental_lists: false 23 24 # this option tells presenterm you don't care about extra parameters in 25 # presentation's front matter. This can be useful if you're trying to load a 26 # presentation made for another tool 27 strict_front_matter_parsing: true 28 29 # whether to treat a thematic break as a slide end. 30 end_slide_shorthand: false 31 32 snippet: 33 exec: 34 # enable code snippet execution. Use at your own risk! 35 enable: true 36 37 exec_replace: 38 # enable code snippet automatic execution + replacing the snippet with its output. Use at your own risk! 39 enable: true 40 41 render: 42 # the number of threads to use when rendering `+render` code snippets. 43 threads: 2 44 45 speaker_notes: 46 # The endpoint to listen for speaker note events. 47 listen_address: "127.0.0.1:59418" 48 49 # The endpoint to publish speaker note events. 50 publish_address: "127.0.0.1:59418" 51 52 # Whether to always publish speaker notes even when `--publish-speaker-notes` is not set. 53 always_publish: false 54 55 bindings: 56 # the keys that cause the presentation to move forwards. 57 next: ["l", "j", "<right>", "<page_down>", "<down>", " "] 58 59 # the keys that cause the presentation to move forwards fast. 60 next_fast: ["n"] 61 62 # the keys that cause the presentation to move backwards. 63 previous: ["h", "k", "<left>", "<page_up>", "<up>"] 64 65 # the keys that cause the presentation to move backwards fast 66 previous_fast: ["p"] 67 68 # the key binding to jump to the first slide. 69 first_slide: ["gg"] 70 71 # the key binding to jump to the last slide. 72 last_slide: ["G"] 73 74 # the key binding to jump to a specific slide. 75 go_to_slide: ["<number>G"] 76 77 # the key binding to execute a piece of shell code. 78 execute_code: ["<c-e>"] 79 80 # the key binding to reload the presentation. 81 reload: ["<c-r>"] 82 83 # the key binding to toggle the slide index modal. 84 toggle_slide_index: ["<c-p>"] 85 86 # the key binding to toggle the key bindings modal. 87 toggle_bindings: ["?"] 88 89 # the key binding to close the currently open modal. 90 close_modal: ["<esc>"] 91 92 # the key binding to close the application. 93 exit: ["<c-c>", "q"] 94 95 # the key binding to suspend the application. 96 suspend: ["<c-z>"]