Skip to content

Automatically switch Input Method (only on macOS)

License

Notifications You must be signed in to change notification settings

crispgm/nvim-auto-ime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  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.

About

Automatically switch Input Method (only on macOS)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages