Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

auto-switch-input-pure-lua.nvim

Auto switch IME on windows 10/11 with pure lua script. Do not need im-select.exe any more. This neovim plugin fulfill the function of auto-switch-input with pure lua , which has better performance than im-select.exe based plugin.

This plugin is suitable for chinese/japanese/korean input.

Function detail

Leaving insert mode , input will change to english mode . Input will restore to the previous input state which leaving insert mode .

Tested Environment

Environment Name
OS windows 10/11
Input Method MSpinyin / Sogou Pinyin

Install by Lazyvim

  {
    "owenstake/auto-switch-input-pure-lua.nvim",
    cond = vim.uv.os_uname().sysname == "Windows_NT",
    config = true,   -- trigger M.setup()
  },

Basic technical idea

Control Input and IME by win32 API by DLL calling.

About

Auto switch IME/Input on windows 10/11 with pure lua script. Do not need im-select.exe any more.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages