Rime - Add wubi86 schema customization. and correct the name or patch files.
authorPeng Li <seudut@gmail.com>
Sun, 21 May 2017 03:19:48 +0000 (11:19 +0800)
committerPeng Li <seudut@gmail.com>
Sun, 21 May 2017 03:27:05 +0000 (11:27 +0800)
emacs.d/config.org
miscellanea/rime/default.custom.yaml
miscellanea/rime/install.pl
miscellanea/rime/wubi86.custom.yaml [new file with mode: 0644]
miscellanea/rime/wubi_pinyin.custom.schema.yaml [deleted file]
miscellanea/rime/wubi_pinyin.custom.yaml [new file with mode: 0644]

index a8676e9..64b493f 100644 (file)
@@ -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"
index f6c42bb..e4ee5de 100644 (file)
@@ -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雙拼
index d7f3eb8..7f8b7ce 100755 (executable)
@@ -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 (file)
index 0000000..2b61525
--- /dev/null
@@ -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 (file)
index 6f12670..0000000
+++ /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 (file)
index 0000000..9d9cba9
--- /dev/null
@@ -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      # 无重码自动上屏
+