Skip to content

jiyee/macism

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MacOS Input Source Manager

This tool manages macOS input sources from the command line, ideal for integration with vim and emacs(e.g. sis).

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, the input source is actually still the same as before.

Install

You can get the executable in any of the following ways:

  • Install from brew

    brew tap laishulu/homebrew
    brew install macism
    
  • compile by yourself

    git clone https://github.com/laishulu/macism
    cd macism
    swiftc macism.swift
    
  • download the executable directly from github

Usage

  1. macism will output the current input source
  2. macism SOME_INPUT_SOURCE_ID will select to SOME_INPUT_SOURCE_ID.
  3. Add an extra option --noKeyboardOnly to command pattern #2 will also enable none-keyboard input sources.

Thanks

  • LuSrackhall for his key insight in this discussion. Based on this insight, macism upgraded from v1 to v2.

About

Command line MacOS Input Source Manager

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Swift 68.2%
  • Shell 31.8%