# Rime default settings
# encoding: utf-8
# customized from Rime default.yaml v0.40

config_version: '0.40'

schema_list:
  - schema: wubi_86
  - schema: pinyin_zrm
  - schema: pinyin
  - schema: easy_en
  - schema: zh_numbers
  - schema: stroke

switcher:
  caption: (方案选单)
  hotkeys:
    - Control+F8
  save_options:
    - ascii_mode
    - full_shape
    - ascii_punct
    - zh_trad
  fold_options: true
  abbreviate_options: true
  option_list_separator: '/'

menu:
  page_size: 5

punctuator:
  full_shape:
    __include: punctuation:/full_shape
  half_shape:
    __include: punctuation:/half_shape

key_binder:
  bindings:
    __patch:
      - key_bindings:/emacs_editing
      - key_bindings:/move_by_word_with_tab
      - key_bindings:/paging_with_minus_equal
      - key_bindings:/paging_with_comma_period
      - key_bindings:/quick_selection
      - key_bindings:/quick_switch_for_vim

recognizer:
  patterns:
    email: "^[A-Za-z][-_.0-9A-Za-z]*@.*$"
    uppercase: "[A-Z][-_+.'0-9A-Za-z]*$"
    url: "^(www[.]|https?:|ftp[.:]|mailto:|file:).*$|^[a-z]+[.].+$"

ascii_composer:
  good_old_caps_lock: true
  switch_key:
    Shift_L: commit_code
    Shift_R: commit_code
    Control_L: noop
    Control_R: noop
    Caps_Lock: commit_text
    Eisu_toggle: clear
