1

我正在使用带有 deadsunkeys 的国际西班牙语键盘,以下代码适用于“'(){} 但不适用于 [],有什么线索吗?。

为了测试我使用:

[: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 "}")]

谢谢你的时间。

4

0 回答 0