Light Table auto close Parenthesis on Windows 7 International Spanish Keyboard

185 views Asked by At

I'm using a International Spanish Keyboard with deadsunkeys the following code works for "'(){} but not for [], any clues?.

To test I used:

[:editor.keys.normal "ctrl-`" :tabs.next]

and nothing happened.

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

Thanks for your time.

0

There are 0 answers