How_To_Automatically_Switch_Ime_In_Vim
Setup
- im-select をインストール
- vimを設定
if executable('im-select')
autocmd InsertLeave * :call system('im-select com.apple.keylayout.ABC')
autocmd CmdlineLeave * :call system('im-select com.apple.keylayout.ABC')
endif
if executable('im-select')
autocmd InsertLeave * :call system('im-select com.apple.keylayout.ABC')
autocmd CmdlineLeave * :call system('im-select com.apple.keylayout.ABC')
endif