config: 取消引用 punctuation.yaml; close #190
This commit is contained in:
parent
49df06e422
commit
bfeb35dccb
35
default.yaml
35
default.yaml
@ -81,7 +81,39 @@ ascii_composer:
|
||||
# '`'(反引号)没有改成 '·'(间隔号)。
|
||||
punctuator:
|
||||
full_shape:
|
||||
__include: punctuation:/full_shape # 加载 Rime 自带的共享目录的 punctuation.yaml 下的 full_shape
|
||||
' ' : { commit: ' ' }
|
||||
',' : { commit: , }
|
||||
'.' : { commit: 。 }
|
||||
'<' : [ 《, 〈, «, ‹ ]
|
||||
'>' : [ 》, 〉, », › ]
|
||||
'/' : [ /, ÷ ]
|
||||
'?' : { commit: ? }
|
||||
';' : { commit: ; }
|
||||
':' : { commit: : }
|
||||
'''' : { pair: [ '‘', '’' ] }
|
||||
'"' : { pair: [ '“', '”' ] }
|
||||
'\' : [ 、, \ ]
|
||||
'|' : [ ·, |, '§', '¦' ]
|
||||
'`' : `
|
||||
'~' : ~
|
||||
'!' : { commit: ! }
|
||||
'@' : [ @, ☯ ]
|
||||
'#' : [ #, ⌘ ]
|
||||
'%' : [ %, '°', '℃' ]
|
||||
'$' : [ ¥, '$', '€', '£', '¥', '¢', '¤' ]
|
||||
'^' : { commit: …… }
|
||||
'&' : &
|
||||
'*' : [ *, ·, ・, ×, ※, ❂ ]
|
||||
'(' : (
|
||||
')' : )
|
||||
'-' : -
|
||||
'_' : ——
|
||||
'+' : +
|
||||
'=' : =
|
||||
'[' : [ 「, 【, 〔, [ ]
|
||||
']' : [ 」, 】, 〕, ] ]
|
||||
'{' : [ 『, 〖, { ]
|
||||
'}' : [ 』, 〗, } ]
|
||||
half_shape:
|
||||
',' : ','
|
||||
'.' : '。'
|
||||
@ -124,7 +156,6 @@ recognizer:
|
||||
email: "^[A-Za-z][-_.0-9A-Za-z]*@.*$" # 自带的,email 正则
|
||||
# uppercase: "[A-Z][-_+.'0-9A-Za-z]*$" # 自带的,大写字母开头后,可以输入[-_+.'0-9A-Za-z]这些字符
|
||||
url: "^(www[.]|https?:|ftp[.:]|mailto:|file:).*$|^[a-z]+[.].+$" # 自带的,URL 正则
|
||||
punct: "^v([0-9]|10|[A-Za-z]+)$" # 响应 symbols_custom.yaml 下的 punctuator/symbols,用「v」替换「/」并支持大写
|
||||
# 一些不直接上屏的配置示例:
|
||||
# url_2: "^[A-Za-z]+[.].*" # 句号不上屏,支持 google.com abc.txt 等网址或文件名,使用句号翻页时需要注释掉
|
||||
# colon: "^[A-Za-z]+:.*" # 冒号不上屏
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Rime's punctuation and symbols
|
||||
# Rime's symbols
|
||||
# encoding: utf-8
|
||||
#
|
||||
# copy from /Library/Input Methods/Squirrel.app/Contents/SharedSupport/symbols.yaml
|
||||
|
Loading…
x
Reference in New Issue
Block a user