From a0cb797bd0bbbc6a13a8bd0c58e32a4ce9ccd0d1 Mon Sep 17 00:00:00 2001 From: Peng Li Date: Sun, 21 May 2017 11:19:48 +0800 Subject: [PATCH] Rime - Add wubi86 schema customization. and correct the name or patch files. --- emacs.d/config.org | 9 --------- miscellanea/rime/default.custom.yaml | 4 ++-- miscellanea/rime/install.pl | 3 ++- miscellanea/rime/wubi86.custom.yaml | 8 ++++++++ miscellanea/rime/wubi_pinyin.custom.schema.yaml | 5 ----- miscellanea/rime/wubi_pinyin.custom.yaml | 8 ++++++++ 6 files changed, 20 insertions(+), 17 deletions(-) create mode 100644 miscellanea/rime/wubi86.custom.yaml delete mode 100644 miscellanea/rime/wubi_pinyin.custom.schema.yaml create mode 100644 miscellanea/rime/wubi_pinyin.custom.yaml diff --git a/emacs.d/config.org b/emacs.d/config.org index a8676e9..64b493f 100644 --- a/emacs.d/config.org +++ b/emacs.d/config.org @@ -2915,15 +2915,6 @@ Use =ESC= to exit minibuffer. Also I map =Super-h= the same as =C-g= (add-to-list 'projectile-globally-ignored-files "GTAGS") (projectile-global-mode t)) - ;; (use-package persp-projectile - ;; :ensure t - ;; :config - ;; (persp-mode) - ;; :bind - ;; ;; (:map projectile-mode-map - ;; ;; ("s-t" . projectile-persp-switch-project)) - ;; ) - ;; change default-directory of scratch buffer to projectile-project-root (defun sd/project-switch-action () "Change default-directory of scratch buffer to current projectile-project-root directory" diff --git a/miscellanea/rime/default.custom.yaml b/miscellanea/rime/default.custom.yaml index f6c42bb..e4ee5de 100644 --- a/miscellanea/rime/default.custom.yaml +++ b/miscellanea/rime/default.custom.yaml @@ -26,8 +26,8 @@ patch: # - schema: cangjie5 # 倉頡五代 # - schema: cangjie5_express # 倉頡 快打模式 # - schema: quick5 # 速成 - - schema: wubi_pinyin # 五笔拼音混合輸入 -# - schema: wubi86 # 五笔86 +# - schema: wubi_pinyin # 五笔拼音混合輸入 + - schema: wubi86 # 五笔86 # - schema: double_pinyin # 自然碼雙拼 # - schema: double_pinyin_mspy # 微軟雙拼 # - schema: double_pinyin_abc # 智能ABC雙拼 diff --git a/miscellanea/rime/install.pl b/miscellanea/rime/install.pl index d7f3eb8..7f8b7ce 100755 --- a/miscellanea/rime/install.pl +++ b/miscellanea/rime/install.pl @@ -6,7 +6,8 @@ use Cwd; my @file = qw( default.custom.yaml squirrel.custom.yaml - wubi_pinyin.custom.schema.yaml ); + wubi_pinyin.custom.yaml + wubi86.custom.yaml ); my $cdr = cwd(); foreach (@file) { diff --git a/miscellanea/rime/wubi86.custom.yaml b/miscellanea/rime/wubi86.custom.yaml new file mode 100644 index 0000000..2b61525 --- /dev/null +++ b/miscellanea/rime/wubi86.custom.yaml @@ -0,0 +1,8 @@ +# wubi86.custom.schema.yaml +patch: + "switches/@0/reset": 1 #表示將 switcher 列表中的第一個元素(即 ascii_mode 開關)的初始值重設爲狀態1(即「英文」)。 + speller: + max_code_length: 4 # 最长 4 码 + auto_select: true # 顶字上屏 + auto_select_unique_candidate: true # 无重码自动上屏 + diff --git a/miscellanea/rime/wubi_pinyin.custom.schema.yaml b/miscellanea/rime/wubi_pinyin.custom.schema.yaml deleted file mode 100644 index 6f12670..0000000 --- a/miscellanea/rime/wubi_pinyin.custom.schema.yaml +++ /dev/null @@ -1,5 +0,0 @@ -# wubi_pinyin.custom.schema.yaml - -patch: - "switches/@0/reset": 1 #表示將 switcher 列表中的第一個元素(即 ascii_mode 開關)的初始值重設爲狀態1(即「英文」)。 - diff --git a/miscellanea/rime/wubi_pinyin.custom.yaml b/miscellanea/rime/wubi_pinyin.custom.yaml new file mode 100644 index 0000000..9d9cba9 --- /dev/null +++ b/miscellanea/rime/wubi_pinyin.custom.yaml @@ -0,0 +1,8 @@ +# wubi_pinyin.custom.schema.yaml + +patch: + "switches/@0/reset": 1 #表示將 switcher 列表中的第一個元素(即 ascii_mode 開關)的初始值重設爲狀態1(即「英文」)。 + speller/max_code_length: 4 # 最长 4 码 + speller/auto_select: true # 顶字上屏 + speller/auto_select_unique_candidate: true # 无重码自动上屏 + -- 2.11.0