Home Download Buy Blog Forum Support

German Keyboard -> no work possible

German Keyboard -> no work possible

Postby konz on Wed May 01, 2013 2:15 pm

Hey, i absolutely love Sublime Text 2,
but i am german and i have a german keyboard and a lot of the key bindings won't work.
Is there a solution, or has anyone made a user keybindings file for that case?
It's not possible to work properly with the current state.
konz
 
Posts: 6
Joined: Wed May 01, 2013 2:10 pm

Re: German Keyboard -> no work possible

Postby KonTrax on Thu May 02, 2013 8:34 am

Just for being thorough, could you include some examples on the specific issues you experience? What keys/symbols don't work? What functional bindings don't work?
KonTrax
 
Posts: 46
Joined: Sun Mar 17, 2013 10:24 am

Re: German Keyboard -> no work possible

Postby konz on Thu May 02, 2013 10:29 am

ok, for example, these shortcuts don't work:
console ctrl+`(i have to press ctrl+ö as i just found out)
comment ctrl+/ (still no clue what to press instead, the / is upper case 7 in german and on an american keyboard, it would be the key that is - on the german keyboard, but when i press ctrl+-, it just zooms out)
and some more

so it really just doesn't work for the special keys that are on the right hand and the numbers...
konz
 
Posts: 6
Joined: Wed May 01, 2013 2:10 pm

Re: German Keyboard -> no work possible

Postby tgkeul on Thu May 02, 2013 12:31 pm

You can define our own keybindings using the menu item Preferences/Key Bindings - User.
To toggle comments insert
Code: Select all
[
   { "keys": ["ctrl+7"], "command": "toggle_comment", "args": { "block": false } },
   { "keys": ["ctrl+shift+7"], "command": "toggle_comment", "args": { "block": true } }
]

This is the way eclipse does it.

To togle the console panel I prefer
Code: Select all
   { "keys": ["f12"], "command": "show_panel", "args": {"panel": "console", "toggle": true} },

which is simpler than Strg-ö.
tgkeul
 
Posts: 140
Joined: Tue Dec 02, 2008 9:35 pm

Re: German Keyboard -> no work possible

Postby konz on Thu May 02, 2013 12:38 pm

ok, so to come back to my original question: has anyone made a user keybindings file for that case?
there is noone who made this, so i can use it.
i guess, i'll just make my own keybindings file and upload it, so anyone can use it.

i'm in my finals, though, so i will do that in a few weeks.
konz
 
Posts: 6
Joined: Wed May 01, 2013 2:10 pm

Re: German Keyboard -> no work possible

Postby senzo on Thu May 02, 2013 1:16 pm

Did you try ctrl+shift+7 to toggle comments? The only keybinding I had to remap is ctrl+` for the console.
senzo
 
Posts: 106
Joined: Tue May 24, 2011 9:17 am

Re: German Keyboard -> no work possible

Postby konz on Thu May 02, 2013 1:18 pm

obviously, i tried. doesn't work. ctrl+shift+7 != ctrl+/ even though upper case 7 is /.
sad story, otherwise, it would've been so easy.
konz
 
Posts: 6
Joined: Wed May 01, 2013 2:10 pm

Re: German Keyboard -> no work possible

Postby KonTrax on Sat May 04, 2013 5:59 am

I'm using the similar nordic layout (norwegian specific) all I have rebound is these few: (not including plugins or bindings I only use for plugin dev)

Code: Select all
   // Comments
   { "keys": ["ctrl+alt+c"],
      "command": "toggle_comment",
      "args"   : { "block": false }
   },

   // Console
   { "keys": ["alt+x"],
      "command": "show_panel",
      "args"   : {"panel": "console", "toggle": true}
   },
   { "keys": ["ctrl+alt+shift+p"],
      "command": "scope_to_extended"
   },

   // Lazy comma fix
   { "keys": ["super"],                    "command": "unbound" }

The lazy comma fix is just what it says, a lazy edit to allow moving everything I actually use around without having to move the comma. No super key on pc's.
KonTrax
 
Posts: 46
Joined: Sun Mar 17, 2013 10:24 am

Re: German Keyboard -> no work possible

Postby skuroda on Sat May 04, 2013 6:51 am

I thought I would mention the sublime.log_input(True) command if you haven't come across it already. This way, you should be able to actually see what keys are being sent to the editor. It may help in defining your new keybinding file. Or it may not. I didn't see it mentioned anywhere before, so thought I would throw it out there.
skuroda
 
Posts: 676
Joined: Fri Oct 05, 2012 8:11 am


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 11 guests