Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Text Input

Customize the text input for in buffers.

Configuration

visibility

Text input visibility. When set to "focused" it will only be visible when the buffer is focused.

# Type: string # Values: "always", "focused" # Default: "always" [buffer.text_input] visibility = "always"

auto_format

Control if the text input should auto format the input. By default text is only formatted when using the /format command.

# Type: string # Values: "disabled", "markdown", "all" # Default: "disabled" [buffer.text_input] auto_format = "markdown"

💡 Read more about text formatting.

key_bindings

Different key bindings for the text input

# Type: string # Values: "default", "emacs" # Default: "default [buffer.text_input] key_bindings = "emacs"

emacs

Emacs variant has the following binds:

ctrl+a: Move to the beginning of the line
ctrl+e: Move to the end of the line
ctrl+b: Move backward one character
ctrl+f: Move forward one character
ctrl+d: Delete the character under the cursor
ctrl+k: Kill rest of line from cursor
alt+b: Move the cursor backward one word
alt+f: Move the cursor forward one word

💡 Global keyboard shortcuts take precedence. Unset any that collide (e.g., set command_bar = "unset").

Autocomplete

Customize autocomplete

Nickname

Customize nickname left of text input