Toggle input method when switching between modes.
IMDI name means "Input Method DBus Integration"
- Running Fcitx5 accessible via session bus of DBus
- lua_dbus-proxy
With packer.nvim:
return require('packer').startup(function(use)
use {
"5long/imdi.nvim",
rocks = 'dbus_proxy',
}
end)
Run command :IMEnable
to enable auto switching for current buffer,
:IMDisable
to disable it. This is recommended for "editing
a single-language file with input method activated all the time".
Alternatively, run command :IMStickyEnable
to remember the status
of input method the last time leaving Insert mode / typing search
patterns. This is recommended for "editing a mixed-languages file".
In other words, this works just like fcitx.vim.
See LICENSE