smelt.vim¶
Tier: UiHost — Requires a terminal UI; calling these from headless mode raises.
Read and write the vim mode of the focused vim-enabled surface. UiHost-only.
smelt.vim.mode¶
Types: smelt.vim.Mode
Return the vim mode of the focused surface, or nil if it isn't vim-enabled.
smelt.vim.set_mode¶
Types: smelt.vim.Mode
Switch the vim mode of the focused vim-enabled window. Raises on unknown values.