Anyone who has used VIM to edit Chinese documents knows that the command line mode is required after each editing.
If you forget to press SHIFT to switch the Chinese/English input, you will find that the commands after pressing ESC are all Chinese input methods.
If you do not press shift, you cannot use the shortcut key.
This is really irritating. Is there a solution?
Of course, we can use the VIMIM plug-in to solve this problem.
First, you need to download this plug-in.
Download the latest vimim. vim plug-in.
Http://www.vim.org/scripts/script.php? Script_id = 1, 2506
Then move the file ~ The/. vim/plugin directory can be used.
The basic switch key is ctrl + 6.
In this way, you can only press ctrl + 6 to enter Chinese characters.
If you want to enter Chinese characters for a long time, you can press shift ctrl-three keys after entering the editing mode.
At the same time, after using this plug-in, you don't have to worry about playing Chinese Input in command line mode!
However, if you do not download the offline dictionary, you can only use cloud input for Chinese input when there is a network.
So we can download an offline dictionary.
Download from here
Https://code.google.com/p/vimim-data/downloads/list
After the download, you can move it to the directory you just downloaded.
I personally think that fcitx is easy to use, while sogou does not seem to be able to write three words, which is uncomfortable.
Cloud input is too slow. I don't think it will be very slow. Who knows that the data transmission speed is not as fast as the typing speed?
In fact, you can also download the dictionary from here. This dictionary is rich, so the typing experience should be good.
Https://code.google.com/p/vimim/wiki/VimimDirectorydata
As ctrl + 6 +-this mode can basically meet my needs, other functions are not intended to be explored for the moment.
You can learn from the instructions
The address is here
Here is the official instructions
Http://vimim.googlecode.com/svn/vimim/vimim.html#id9
However, many people say that this instruction document is very bad.
I did not take a closer look. If you are interested, you can take a look.