Home

Awesome

nvim-auto-ime

Automatically switch Input Method (IME). It is only available on macOS.

Features

Installation

  1. Install macism:
    $ brew tap laishulu/macism
    $ brew install macism
    
  2. 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.