Skip to content

input

Input-related settings: key remapping, how the Option key is treated, and IME (input method editor) behavior. The former [ime] section has been merged here.

[input]
swap_colon_semicolon = false # swap the `:` and `;` keys (single keypresses only)
option_as_meta = "both" # "both", "none", "only_left", "only_right"
ime_disable_on_activate = false
ime_disable_on_modechange = false
ime_preedit_mode = "overlay" # "overlay" (floating overlay) or "inline" (inline virt_text)
Key Description
swap_colon_semicolon Swap the : and ; keys (true/false). Applies to single keypresses only; pasted text and IME commits are unaffected
option_as_meta Map Option key as Meta: “both”, “none”, “only_left”, “only_right”
ime_disable_on_activate Disable IME when app becomes active (true/false)
ime_disable_on_modechange Disable IME on Vim mode change (true/false)
ime_preedit_mode IME preedit display: “overlay” (floating overlay) or “inline” (inline virt_text that shifts following text; falls back to overlay outside insert/replace)