Skip to content

Instantly share code, notes, and snippets.

@laanwj
Created September 22, 2012 13:35
  • Star 5 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save laanwj/3766192 to your computer and use it in GitHub Desktop.
Haskell unicode syntax key bindings for Sublime Text 2
[
{ "keys": [":",":"], "command": "insert_snippet", "args": {"contents": "∷"}, "context":
[
{ "key": "selector", "operator": "equal", "operand": "source.haskell" }
]
},
{ "keys": ["-",">"], "command": "insert_snippet", "args": {"contents": "→"}, "context":
[
{ "key": "selector", "operator": "equal", "operand": "source.haskell" }
]
},
{ "keys": ["<","-"], "command": "insert_snippet", "args": {"contents": "←"}, "context":
[
{ "key": "selector", "operator": "equal", "operand": "source.haskell" }
]
},
{ "keys": ["=",">"], "command": "insert_snippet", "args": {"contents": "⇒"}, "context":
[
{ "key": "selector", "operator": "equal", "operand": "source.haskell" }
]
},
{ "keys": ["-","<"], "command": "insert_snippet", "args": {"contents": "↢"}, "context":
[
{ "key": "selector", "operator": "equal", "operand": "source.haskell" }
]
},
{ "keys": [">","-"], "command": "insert_snippet", "args": {"contents": "↣"}, "context":
[
{ "key": "selector", "operator": "equal", "operand": "source.haskell" }
]
},
{ "keys": ["-","<","<"], "command": "insert_snippet", "args": {"contents": "⤛"}, "context":
[
{ "key": "selector", "operator": "equal", "operand": "source.haskell" }
]
},
{ "keys": [">",">","-"], "command": "insert_snippet", "args": {"contents": "⤜"}, "context":
[
{ "key": "selector", "operator": "equal", "operand": "source.haskell" }
]
},
{ "keys": ["ctrl+shift+8"], "command": "insert_snippet", "args": {"contents": "★"}, "context":
[
{ "key": "selector", "operator": "equal", "operand": "source.haskell" }
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment