Awesome
nvim-auto-ime
Automatically switch Input Method (IME). It is only available on macOS.
Features
- Switch to English IME after
InsertLeave
- User commands to control IME
Installation
- 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 }
Configuration
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
License
Copyright (c) David Zhang, 2023.