Home Download Buy Blog Forum Support

Toggle comment instead of write character '}'

Toggle comment instead of write character '}'

Postby MrViSiOn on Wed Oct 31, 2012 12:02 pm

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... :-(

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

Thanks!!!
MrViSiOn
 
Posts: 4
Joined: Thu Jul 26, 2012 11:04 pm

Re: Toggle comment instead of write character '}'

Postby MrViSiOn on Thu Nov 01, 2012 11:24 pm

Nobody?
MrViSiOn
 
Posts: 4
Joined: Thu Jul 26, 2012 11:04 pm

Re: Toggle comment instead of write character '}'

Postby bizoo on Fri Nov 02, 2012 7:44 am

Type these lines in the console to activate logging:
Code: Select all
sublime.log_input(True)
sublime.log_command(True)

Try again and look what's the console log.
bizoo
 
Posts: 886
Joined: Wed Dec 08, 2010 6:53 am
Location: Switzerland

Re: Toggle comment instead of write character '}'

Postby AmidaObscura on Fri Nov 02, 2012 9:30 am

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.
AmidaObscura
 
Posts: 3
Joined: Mon Sep 17, 2012 8:54 am

Re: Toggle comment instead of write character '}'

Postby MrViSiOn on Fri Nov 02, 2012 11:26 am

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+/?
MrViSiOn
 
Posts: 4
Joined: Thu Jul 26, 2012 11:04 pm

Re: Toggle comment instead of write character '}'

Postby MrViSiOn on Fri Nov 02, 2012 6:36 pm

Nobody?
MrViSiOn
 
Posts: 4
Joined: Thu Jul 26, 2012 11:04 pm

Re: Toggle comment instead of write character '}'

Postby thyresias on Sat Nov 03, 2012 7:08 am

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

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 + /.
thyresias
 
Posts: 15
Joined: Tue Oct 02, 2012 5:54 pm


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 23 guests