diff options
author | McSinyx <vn.mcsinyx@gmail.com> | 2016-05-18 14:25:25 +0700 |
---|---|---|
committer | Raphael McSinyx <vn.mcsinyx@gmail.com> | 2016-11-20 16:36:30 +0700 |
commit | 57a8d8360c85528fb477e76ef1a5f2eeb151be14 (patch) | |
tree | 78de696741ad906e48e488e1968efcce984631c4 /vim/.vim/bundle/stime/tables/templete | |
parent | 095074967392b3b4c21891693a6ac9e40d1958d4 (diff) | |
download | dotfiles-57a8d8360c85528fb477e76ef1a5f2eeb151be14.tar.gz |
Initial commit
Diffstat (limited to 'vim/.vim/bundle/stime/tables/templete')
-rw-r--r-- | vim/.vim/bundle/stime/tables/templete | 140 |
1 files changed, 140 insertions, 0 deletions
diff --git a/vim/.vim/bundle/stime/tables/templete b/vim/.vim/bundle/stime/tables/templete new file mode 100644 index 0000000..061828e --- /dev/null +++ b/vim/.vim/bundle/stime/tables/templete @@ -0,0 +1,140 @@ +### This file must be encoded into UTF-8. +### This table is licensed under GPL +### Comments start with ### not single # +### Actually, any line before BEGIN_TABLE other than the non-commented lines in +### this template will be ignored. All lines after END_TABLE will not be read. +### Derive from the format of Ibus Table, so you can modify the table from +### ibus-table's table + +### Begin Table definition. The following line is from ibus-table's templete. It +### is kept just in case Stime grow more complex. +### BEGIN_DEFINITION + +### License +### LICENSE = GPL + +### An unique id to distinguish this table among others. +### Use uuidgen to generate this kind of id. (also from ibus-table) +### UUID = c9851827-0abe-12ed-8db5-010b9d51ffed + +### A unique number indicates the version of this file. +### For example the last modified date of this file. +### This number must be less than 2^32. +### Just make your table version-able +### SERIAL_NUMBER = 20090218 + +### The symbol to be displayed in IM switchers +### SYMBOL = 码 + +### The default name of this table, this is needed. Note that all string must be +### put within quotes. +NAME = 'Table' + +### The local names of this table, this is optional +### NAME.zh_CN = 形码 +### NAME.zh_HK = 形碼 +### NAME.zh_TW = 形碼 + +### Description +### DESCRIPTION = This is a template engine table for Stime. + +### Supported languages of this table +### sigle "zh_CN" just be recognized as zh_CN, +### but "zh_CN, zh_HK" or more zh_XX will be recognized as zh; +### and "en_US, zh_CN" will be just ignored. +### LANGUAGES = zh_CN,zh_SG,zh_TW,zh_HK + +### The author of this table +### AUTHOR = 'McSinyx <vn.mcsinyx@gmail.com>' + +### Prompt string to be displayed in the status area, CN will be replaced by +### the gettext tools in runtime as 中. +### STATUS_PROMPT = CN + +### Valid input chars. +### VALID_INPUT_CHARS = abcdefghijklmnopqrstuvwxyz + +### Layout +### LAYOUT = us + +### The max number of input keys for every phrase or character. +### MAX_KEY_LENGTH = 4 + +### Use auto_commit mode as default. Note that as of this moment, Stime only +### supports ibus-table's table with AUTO-COMMIT is true. +### AUTO_COMMIT = FALSE + +### Automatically selects the first phrase when typing +### AUTO_SELECT = FALSE + +### Use full width punctuation by default +### DEF_FULL_WIDTH_PUNCT = TRUE +### Not use full width letter by default +### DEF_FULL_WIDTH_LETTER = FALSE + +### Whether user are allow to define phrase, default is true +### You have to define the word construction rules below. +### For input methods which do not input phrases, set this to False +### USER_CAN_DEFINE_PHRASE = TRUE + +### Whether support PinYin Mode, default is true. +### this feature is just for Chinese, set it to False if your IM is not +### Chinese. +### PINYIN_MODE = TRUE + +### If true then the phrases' frequencies will be adjusted dynamically +### according your using frequency. +### DYNAMIC_ADJUST = TRUE + +### Some characters whose frequencies should be fix all the time, e.g. +### some punctuations +### NO_CHECK_CHARS = + +### Rules for constructing user defined phrase +### "ce" stands for "ci equal", a Chinese English :), means "phrase length +### equal to", thus ce2 -> phrase length equal to 2; and "ca" means "phrase +### length equal or above", so ca4 -> phrase length equal or above 4. +### p21 -> the 1st key of 2nd character in the phrase, and so on. +### Each rule separate via ";". +### Example below is a complete rule-set, +### becuase [2,2] ∩ [3,3] ∩ [4,+∞] = [2,+∞], which is the range of length +### of phrase. This have to be satisfied if you need ibus-table to build up +### your own inputed phrase via your daily using. +### RULES = ce2:p11+p12+p21+p22;ce3:p11+p21+p22+p31;ca4:p11+p21+p31+p41 + +### The key strokes to page up the lookup table. +### PAGE_UP_KEYS = Page_Up,KP_Page_Up,minus,comma + +### The key strokes to page down. +### PAGE_DOWN_KEYS = Page_Down,KP_Page_Down,equal,period + +ESCAPE_CHAR = '\' + +### END_DEFINITION + +### Begin Table data. +### Format of every line whose formated in "input_keys\tphrase\tfreq\n" is an +### entry. +### From left to right, the 1st column are the input key combination that you +### entered via keyboard; the 2nd column are presented character or phrase of +### the key combination you want; the 3rd column are frequency of the character +### or phrase. +BEGIN_TABLE +input_keys aim_chars freq +input_keys aim_chars freq +input_keys aim_chars freq +END_TABlE + +### Since some input methods use different table for every character to make +### phrase, such as ZhengMa, they need explict define the goucima (the +### phrase-building code for the given character), the format of every entry is +### "character\tgoucima\n". +### For the input method which just use the full code as word-building code +### just skip this field. The ibus-table will build the codes needed from +### above TABLE. +### if you don't need different word-building code, please comment out the +### next few lines with ###, just like these lines you are look at now. +### BEGIN_GOUCI +### character_1 goucima_1 +### character_1 goucima_2 +### END_GOUCI |