Home Download Buy Blog Forum Support

Dealing with dead keys

Dealing with dead keys

Postby oschrenk on Wed Jun 13, 2012 1:06 am

I'm on OSX 10.7.4 using german locale and keyboard input.

The german keyboard layout uses dead keys ( http://en.wikipedia.org/wiki/Dead_key ) for `,´, and ^, meaning that after these symbols another character has to be entered before both characters are interpreted.

Because of this I can't use stuff like this

Code: Select all
{ "keys": ["`"], "command": "insert_snippet", "args": {"contents": "`${0:$SELECTION}`"}, "context":
        [
            { "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
            { "key": "selection_empty", "operator": "equal", "operand": false, "match_all": true },
            { "key": "selector", "operator": "equal", "operand": "text.html.markdown", "match_all": true }
        ]
    },


from the awesome MarkdownEditing package

Sublime Text 2 waits for the other character instead of acting out the command. After much work I created a german keyboard layout without dead keys as a workaround but I think this should be handled by Sublime Text 2and not by a special keyboard layout.

For all who are interested in the keyboard layout can have a look at
https://github.com/oschrenk/keylayout-de_DE-no-deadkeys
oschrenk
 
Posts: 3
Joined: Tue Jun 12, 2012 1:34 pm

Re: Dealing with dead keys

Postby lkuty on Thu Nov 29, 2012 10:12 am

I have the same problem here with an Azerty keyboard under OS X. I guess I should have switched (or will switch one day) to Qwerty a long time ago even if accented characters are not easy to type.
lkuty
 
Posts: 1
Joined: Thu Nov 29, 2012 8:25 am


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 22 guests