This is a mini plugin for TPM.
This plugin display current selected input source, but only 'Japanese' or not.
And only work on recent macOS.
inspired by knakayama's blog aritcle & tmux plugins
- http://dev.classmethod.jp/devenv/mastering-tmux-with-tpm-plugin/
- https://github.com/search?q=user%3Aknakayama+tmux
Install tpm and add the following line to your $HOME/.tmux.conf.
set-option -g @plugin 'oppara/tmux-osx-selected-input-source'
Add #{selecte_input_source} format string to your existing status-left or status-right tmux option.
i.e.
set-option -g status-right '#{selecte_input_source}'