neoclide / coc-imselect Goto Github PK
View Code? Open in Web Editor NEWInput method enhance for iTerm2 on mac.
Input method enhance for iTerm2 on mac.
When using 'coc-imselect', the floating window will appear when switching input method.
Is it possible to disable it?
试了几个切换输入法的插件都有这个问题
此时虽然输入法切换回中文了,mac顶部的bar也显示是中文输入法状态,但是只能输入英文 ,需要手动重新点选一下中文输入法
如果要避免这种情况 只能在浏览器输入完中文后手动切换回英语 再切回vim
在查看中文文档时 感觉这样跳转起来更加方便
感谢作者开发的插件,但是发现 sudo 似乎有问题:
这种场景可能比较少见,偶尔编辑一下 /etc/hosts 之类的才会碰到
供参考,谢谢
Mac m2 air, item2
类似nvim .
的方式,不过直接在当前目录nvim
就没事
❯ nvim --version
NVIM v0.9.1
Build type: Release
LuaJIT 2.1.0-beta3
从中文输入法退出的时候报错了:
Command failed: /Users/foobar/.vim/bundles/.cache/init.vim/.dein/bin/sel ect com.apple.keylayout.US
实际上我没有使用US这个layout而是ABC
我打印出来的Input Method有这些:
"<TSMInputSource 0x7f9d6b4132e0> KB Layout: ABC (id=252)",
"<TSMInputSource 0x7f9d6b40d4c0> Palette Input Method: com.apple.PressAndHold",
"<TSMInputSource 0x7f9d6b417b20> Palette Input Method: com.apple.CharacterPaletteIM",
"<TSMInputSource 0x7f9d6b417aa0> Palette Input Method: com.apple.KeyboardViewer",
"<TSMInputSource 0x7f9d6b417ac0> Input Mode: com.sogou.inputmethod.pinyin (Parent = com.sogou.inputmethod.sogou)",
"<TSMInputSource 0x7f9d6b417b40> Input Method: com.sogou.inputmethod.sogou"
解决办法是我把 ABC 改成 US 就好了,但是这里应该能检测到我使用的是ABC吧?
我在insert模式是搜狗的英文,如果切到normal会到ABC,然后再切回insert 就变成了搜狗拼音,这种情况如何设置呢?谢谢
Install by CocInstall coc-imselect
2019-07-09T23:11:03.765 ERROR (pid:95111) [coc-imselect] - Command failed: /Users/aioiyuuko/.config/coc/extensions/node_modules/coc-imselect/bin/select com.apple.keylayout.ABC
/bin/sh: /Users/aioiyuuko/.config/coc/extensions/node_modules/coc-imselect/bin/select: No such file or directory
您好,我是在neovim上使用的这个插件,发现不能切换输入法。(正常提示当前输入法)
coc-nvim.log
2021-05-20T10:09:50.694 ERROR (pid:22707) [coc-imselect] - Command failed: /Users/xxx/.config/coc/extensions/node_modules/coc-imselect/bin/select com.apple.keylayout.US`
在终端执行 `bin/select com.apple.keylayout.US`没有反应。
❯ nvim --version
NVIM v0.4.4
Build type: Release
LuaJIT 2.1.0-beta3
Compilation: clang -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNDEBUG -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -I/tmp/neovim-20210318-48132-k7r45c/neovim-0.4.4/build/config -I/tmp/neovim-20210318-48132-k7r45c/neovim-0.4.4/src -I/usr/local/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/usr/local/opt/gettext/include -I/tmp/neovim-20210318-48132-k7r45c/neovim-0.4.4/build/src/nvim/auto -I/tmp/neovim-20210318-48132-k7r45c/neovim-0.4.4/build/include
Compiled by brew@BigSur
Features: +acl +iconv +tui
See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/local/Cellar/neovim/0.4.4_2/share/nvim"
Run :checkhealth for more info
❯ node --version
v16.1.0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.