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 linectrl+e: Move to the end of the linectrl+b: Move backward one characterctrl+f: Move forward one characterctrl+d: Delete the character under the cursorctrl+k: Kill rest of line from cursoralt+b: Move the cursor backward one wordalt+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