SmartIM
reset input method to us when enter normal_mode, and restore previous input method when you enter insert_mode
Details
Installs
- Total 58
- Win 0
- Mac 58
- Linux 0
| Aug 5 | Aug 4 | Aug 3 | Aug 2 | Aug 1 | Jul 31 | Jul 30 | Jul 29 | Jul 28 | Jul 27 | Jul 26 | Jul 25 | Jul 24 | Jul 23 | Jul 22 | Jul 21 | Jul 20 | Jul 19 | Jul 18 | Jul 17 | Jul 16 | Jul 15 | Jul 14 | Jul 13 | Jul 12 | Jul 11 | Jul 10 | Jul 9 | Jul 8 | Jul 7 | Jul 6 | Jul 5 | Jul 4 | Jul 3 | Jul 2 | Jul 1 | Jun 30 | Jun 29 | Jun 28 | Jun 27 | Jun 26 | Jun 25 | Jun 24 | Jun 23 | Jun 22 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
SmartIM
reset Input Method to default keyboard-layout when exit insert mode, and restore Input Method after enter insert mode again.
inspire by smartim
Installation
Package Control
The easiest way to install SmartIM is with Package Control
- Bring up the Command Palette (cmd+shift+p on OS X, ctrl+shift+p on Linux/Windows)
- Select “Package Control: Install Package” (it'll take a few seconds)
- Select “SmartIM” when the list appears
Package Control will automatically keep SmartIM up to date with the latest version.
Manually
- cd
~/Library/Application\ Support/Sublime\ Text\ 3/Packages git clone https://github.com/icymind/SmartIM
Config
If your keyboard layout isn't com.apple.keylayout.US, you need to tell SmartIM by setting it in SmartIM.sublime-settings:
Click “Preferences - Package Settings - SmartIM - Settings - User”, then add the following line to the file:
{
"keyboard_layout": "your_default_keyboard_id"
}
Replace your_default_keyboard_id with the ID string of your input method (which can be get via ./im-select)
issue
if you got “permission deny” issue, please fix it by:
chmod +x ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/SmartIM/im-select