Automatically switch Input Method (IME). It is only available on macOS.
- Switch to English IME after
InsertLeave
- User commands to control IME
- Install macism:
$ brew tap laishulu/macism $ brew install macism
- Install nvim-auto-ime with your favorite package manager, e.g. Lazy
{ 'crispgm/nvim-auto-ime', config = function() require('auto-ime').setup({ ime_source = 'com.apple.inputmethod.SCIM.ITABC', }) end }
Default configuration:
{
ime_default = 'com.apple.keylayout.ABC',
ime_source = '', -- must be specified
}
You may install minoki/InputSourceSelector and list all enabled sources:
InputSourceSelector list-enabled
Copyright (c) David Zhang, 2023.