Sublime Text in Linux does not support Chinese input, I am also drunk.
Online to find some methods, have no success, finally with Inputhelper compromise, although trouble, but at least can write Chinese.
Inputhelper because it is entered as a popup window, it theoretically supports all Chinese input methods used by the system.
Installation Method :
$ CD ~/.config/sublime-text-3/packages
$ git clone https://github.com/xgenvn/InputHelper.git
Or
Go to download inputhelper (http://download.csdn.net/detail/chinaeran/8562129)
$ CD ~/.config/sublime-text-3/packages
$ Unzip Inputhelper.zip
How to use :
Press Ctrl + Shift + Z to bring up the input box, then you can enter Chinese, then press ENTER.
The shortcut keys can be changed in the default (Linux). Sublime-keymap file, as below, I have changed to Ctrl + Blank (because I Ctrl + Space under Linux is the switch input method, So, you want to enter Chinese in Sublime Text, press CTRL + Space .
[ //{"Keys": ["Ctrl+shift+z"], "command": "Input_helper"} {"Keys": ["Ctrl+space"], "command": "Input_helper" }]
Use effect:
(The figure is using Sogou Input Method Linux version)
Linux under Sublime Text add inputhelper plugin input chinese