/imdi.nvim

Input Method DBus Integration for Neovim

Primary LanguageLuaMIT LicenseMIT

imdi.nvim

Toggle input method when switching between modes.

IMDI name means "Input Method DBus Integration"

Dependencies

Install

With packer.nvim:

return require('packer').startup(function(use)
  use {
    "5long/imdi.nvim",
    rocks = 'dbus_proxy',
  }
end)

Usage

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.

License

See LICENSE