Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WSL支持吗? #5

Open
lfdotleo opened this issue Nov 18, 2020 · 2 comments
Open

WSL支持吗? #5

lfdotleo opened this issue Nov 18, 2020 · 2 comments

Comments

@lfdotleo
Copy link

从知乎过来的,但是测试后发现 WSL 还是不行,我姿势有问题吗?

@okwellok
Copy link

@codekeeperjava 我在WSL2(arch)上使用,发现是keyboard.vim的这部分判断出了问题

  if has('unix')
    call s:UnixEnable(l:im_id)
  elseif has('win32')
    call s:WinEnable(l:im_id)
  endif

直接改为call s:WinEnable(l:im_id)就行了
不过我发现smartim 这个项目配合上im-select的exe文件。改一下代码就能实现输入状态的保存的切换。

@meijieru
Copy link

@okwellok 谢谢,搞了个 wsl 下用的
https://github.com/meijieru/imtoggle.nvim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants