ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Smart​IM

by overcache Mac ALL

reset input method to us when enter normal_mode, and restore previous input method when you enter insert_mode

Details

Installs

  • Total 54
  • Win 0
  • Mac 54
  • Linux 0
Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23
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 1 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

  1. cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages
  2. 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