Sublime Forum

Toggle comment instead of write character '}'

#1

Hi!

I don’t know if this problem is due to some plugin (I’m almost certain) but each time I press Alt Gr+} to write the character ‘}’ ¡Sublime comments my line!
I have a spanish qwerty keyboard… :frowning:

Somebody knows how can I fix that? I search over all .keymap files but I didn’t find nothing…

Thanks!!!

0 Likes

#2

Nobody?

0 Likes

#3

Type these lines in the console to activate logging:

sublime.log_input(True) sublime.log_command(True)
Try again and look what’s the console log.

0 Likes

#4

Sublime Text 2 does not handle well Spanish layout keyboard (and maybe others)

I have the same problem. I realized this when I tried to use the zen-coding plugin.

0 Likes

#5

Oh Thank for the info!!!

Commands for logging input and command help me so much!

I know that sublime thinks when I press Alt Gr+} that I’m pressing Ctrl+Alt+/ and It comments my line

I’ll change that behavior and that’s all!!!

Thank you so much!

EDIT: How can I remove assign Ctrl+Alt+/?

0 Likes

Write a backtick on Windows7 and Spanish keyboard
#6

Nobody?

0 Likes

#7

You can’t in your user config files (as far as I know). I have a French keyboard, so I went through the same problems you have. Only way: edit the default keymap file for your OS, and comment out the binding of ctrl + alt + /.

0 Likes