
الإنجليزية | 简体中文
brew tap daipeihust/tap
brew install im-selectأو يمكنك تشغيل الأمر التالي في وحدة التحكم الخاصة بك:
curl -Ls https://raw.githubusercontent.com/daipeihust/im-select/master/install_mac.sh | sh سيتم تنزيل برنامج IM-Select على /usr/local/bin/ path.
قم بتنزيل im-select.exe ، وانقله إلى المسار المناسب. (إذا كنت بحاجة إلى إصدار 64 بت ، يمكنك تنزيل هذا.)
ليس عليك تثبيت هذا للينكس. Linux لديها أدوات لتبديل طرق الإدخال
إذا كان مسارك يحتوي على /usr/local/bin ، فيمكنك فقط استخدام im-select بدلاً من /usr/local/bin/im-select
/usr/local/bin/im-select/usr/local/bin/im-select imkey على سبيل المثال /usr/local/bin/im-select com.apple.keylayout.US
قدمت Mengbo هذا التكوين لـ IBUS
"vim.autoSwitchInputMethod.enable": true,
"vim.autoSwitchInputMethod.defaultIM": "xkb:us::eng",
"vim.autoSwitchInputMethod.obtainIMCmd": "/usr/bin/ibus engine",
"vim.autoSwitchInputMethod.switchIMCmd": "/usr/bin/ibus engine {im}"
قدم @Vel4eg هذا التكوين ل switch XKB
"vim.autoSwitchInputMethod.enable": true,
"vim.autoSwitchInputMethod.defaultIM": "us",
"vim.autoSwitchInputMethod.obtainIMCmd": "/usr/local/bin/xkb-switch",
"vim.autoSwitchInputMethod.switchIMCmd": "/usr/local/bin/xkb-switch -s {im}"
قدم @yunhao94 هذا التكوين لـ FCITX
"vim.autoSwitchInputMethod.enable": true,
"vim.autoSwitchInputMethod.defaultIM": "1",
"vim.autoSwitchInputMethod.obtainIMCmd": "/usr/bin/fcitx-remote",
"vim.autoSwitchInputMethod.switchIMCmd": "/usr/bin/fcitx-remote -t {im}",
@DRQ توفير هذا التكوين لـ GDBUS
ضع gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell --method org.gnome.Shell.Eval "imports.ui.status.keyboard.getInputSourceManager().currentSource.index" | awk -F'[^0-9]*' '{print $2}' في get-im.sh.
ضع gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell --method org.gnome.Shell.Eval "imports.ui.status.keyboard.getInputSourceManager().inputSources[$1].activate()" .
"vim.autoSwitchInputMethod.enable": true,
"vim.autoSwitchInputMethod.defaultIM": "0",
"vim.autoSwitchInputMethod.obtainIMCmd": "<path to get-im.sh>",
"vim.autoSwitchInputMethod.switchIMCmd": "<path to set-im.sh> {im}",
@igorechek06 قدم هذا التكوين ل qdbus
"vim.autoSwitchInputMethod.enable": true,
"vim.autoSwitchInputMethod.defaultIM": "0",
"vim.autoSwitchInputMethod.obtainIMCmd": "/usr/bin/qdbus org.kde.keyboard /Layouts getLayout",
"vim.autoSwitchInputMethod.switchIMCmd": "/usr/bin/qdbus org.kde.keyboard /Layouts setLayout {im}",
im-select.exe هو برنامج سطر الأوامر ، لكنه لا يمكنه العمل في CMD أو PowerShell. إنه علة Microsoft ، لا تدعم واجهة برمجة تطبيقات لوحة المفاتيح في CMD و PowerShell. أنصحك git-bash.
ملاحظة: غير مطلوب. يتم استخدامه فقط للحصول على مفتاح طريقة الإدخال الحالي ، والذي يحتاج إلى تكوين VSCODEVIM.
/path/to/im-select.exe/path/to/im-select.exe localeملاحظة: يشبه المسار في Windows: C: Users path to file
إذا وجدت بعض المشكلات ، مرحبًا بك في إنشاء طلب سحب!
إعطاء ️ إذا ساعدك هذا المشروع!
اشتر لي القهوة ، إذا أعجبك ذلك! إذا كانت لديك أي مشاكل ، فيمكنك الاتصال بي عبر البريد الإلكتروني!


هذا المشروع مرخص بموجب شروط ترخيص معهد ماساتشوستس للتكنولوجيا.