This plugin can show the input method or keyboard kayout on tmux status line.
This plugin works only on macOS.
You can easily install this plugin with Tmux Plugin Manager. Put following code in .tmux.conf
.
# Install The Plugin
set -g @plugin 'ki-chi/tmux-inputmethod'
Then, add #{iptmthd}
strings in your status-right
or status-left
option in .tmux.conf
.
# Example
set-option -g status-right '#{iptmthd}'
Push prefix + I(shift+i)
, and the installation will finish.