
Anglais | 简体中文
brew tap daipeihust/tap
brew install im-selectOu vous pouvez exécuter la commande suivante dans votre console:
curl -Ls https://raw.githubusercontent.com/daipeihust/im-select/master/install_mac.sh | sh Le programme IM-Select sera téléchargé sur votre /usr/local/bin/ path.
Téléchargez IM-Select.exe et déplacez-le sur le chemin du bon. (Si vous avez besoin de la version 64 bits, vous pouvez télécharger celui-ci.)
Vous n'avez pas à l'installer pour Linux. Linux ont des outils pour changer de méthodes d'entrée
Si votre chemin contient /usr/local/bin , vous pouvez simplement utiliser im-select au lieu de /usr/local/bin/im-select
/usr/local/bin/im-select/usr/local/bin/im-select imkey Par exemple /usr/local/bin/im-select com.apple.keylayout.US
@Mengbo a fourni cette configuration pour 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 a fourni cette configuration pour XKB-Switch
"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 a fourni cette configuration pour 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 fournit cette configuration pour GDBUS
Mettez 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}' dans get-im.sh.
Mettez 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()" dans set-im.sh.
"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 a fourni cette configuration pour 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}",
Le programme IM-Select.exe est le programme de ligne de commande, mais il ne peut pas fonctionner dans CMD ou PowerShell. C'est le bug de Microsoft, l'API du clavier ne prend pas en charge dans CMD et PowerShell. Je vous recommande Git-Bash.
Remarque: le git-bash n'est pas requis. Il est uniquement utilisé pour obtenir la touche de méthode d'entrée actuelle, qui nécessaire dans la configuration de VScoDevim.
/path/to/im-select.exe/path/to/im-select.exe localeRemarque: le chemin de la part des fenêtres est comme: C: Users Path to File
Si vous trouvez des problèmes, bienvenue pour créer une demande de traction!
Donnez un ️ si ce projet vous a aidé!
Achetez-moi un café, si vous l'aimez! Si vous avez des problèmes, vous pouvez me contacter par e-mail!


Ce projet est concédé sous licence de la licence du MIT.