MacOS Input Source Manager
This tool is used to manage MacOS input source from command line, useful to be integrated with vim
and emacs
(e.g. emacs-smart-input-source). It is based on the codes from kawa.
macism
's main advantage over other similar tools is that it can reliably select CJKV( Chinese/Japanese/Korean/Vietnamese) input source, while with other tools (such as input-source-switcher, im-select from smartim, swim), when you switch to CJKV input source, you will see that the input source icon has already changed in the menu bar, but unless you activate other applications and then switch back, you input source is actually still the same as before.
macism
solve other tools’ problem by reading the shortcut key for switching input sources from the system preference, and then emulate the triggering of the shortcut key.