If you use a Non-English Language while in Input Mode, The input language is automatically changed to English when you leave Input Mode
And When you return to Input Mode, the Input Langauge revert to the Original Non-English Language
Currently we can use this on Linux-Ibus and Mac OS
and Windows support is currently work-on-progress
You can use this plugin on your main config as below,
To import my plugin with vimplug or etc,
use 'ds1sqe/InputMethodAutoChanger.nvim'
And setup with,
require('imac').setup("Target Language Input Method","Eng Input Method","Debug option(true/false) ")
Example on linux
require('imac').setup("hangul","xkb:us::eng",false)
Example on MacOS
require('imac').setup("com.apple.keylayout.ABC","com.apple.inputmethod.Korean.2SetKorean",true)