次のコードは "'(){} では機能しますが、[] では機能しません。手がかりはありますか?
テストするには、次を使用しました:
[:editor.keys.normal "ctrl-`" :tabs.next]
そして何も起こらなかった。
Light Table 0.7.2
user.keymaps
;; Auto Close
[:editor.keys.normal "\"" (:editor.repeat-pair "\"")]
[:editor.keys.normal "'" (:editor.repeat-pair "'")]
[:editor.keys.normal "(" (:editor.open-pair "(")]
[:editor.keys.normal ")" (:editor.close-pair ")")]
[:editor.keys.normal "ctrl-alt-[" (:editor.open-pair "[")]
[:editor.keys.normal "ctrl-alt-]" (:editor.close-pair "]")]
[:editor.keys.normal "ctrl-alt-'" (:editor.open-pair "{")]
[:editor.keys.normal "ctrl-'" (:editor.open-pair "{")]
[:editor.keys.normal "ctrl-alt-ç" (:editor.close-pair "}")]
[:editor.keys.normal "ctrl-ç" (:editor.close-pair "}")]
御時間ありがとうございます。