Skip to content

Instantly share code, notes, and snippets.

@liamcain
Created September 16, 2011 21:04
Show Gist options
  • Save liamcain/1223147 to your computer and use it in GitHub Desktop.
Save liamcain/1223147 to your computer and use it in GitHub Desktop.
OSX keybindings for volcano
[
{
"args": {
"token_type": "char",
"cmd" : "toggle"
},
"command": "volcanise",
"context": [],
"keys": [
"ctrl+,"
]
},
{
"args": {
"token_type": "word",
"cmd": "toggle"
},
"command": "volcanise",
"context": [],
"keys": [
"ctrl+;"
]
},
{
"args": {
"cmd": "exit"
},
"command": "volcanise",
"context": [
{
"key": "setting.volcanise",
"operand": true,
"operator": "equal"
}
],
"keys": [
"escape"
]
},
{
"args": {
"cmd": "exit"
},
"command": "volcanse",
"context": [
{
"key": "setting.volcanise",
"operand": false,
"operator": "equal"
},
{"key" : "volcanise"}
],
"keys": [
"escape"
]
},
{
"args": {
"by": "words",
"extend": false,
"forward": false
},
"command": "move",
"context": [],
"keys": [
"ctrl+n"
]
},
{
"args": {
"by": "word_ends",
"extend": false,
"forward": true
},
"command": "move",
"context": [],
"keys": [
"ctrl+i"
]
},
{
"args": {
"by": "lines",
"extend": false,
"forward": false
},
"command": "move",
"context": [],
"keys": [
"ctrl+u"
]
},
{
"args": {
"by": "lines",
"extend": false,
"forward": true
},
"command": "move",
"context": [],
"keys": [
"ctrl+e"
]
},
{
"args": {
"extend": false,
"to": "eol"
},
"command": "move_to",
"context": [],
"keys": [
"ctrl+quote"
]
},
{
"args": {
"extend": false,
"to": "bol"
},
"command": "move_to",
"context": [],
"keys": [
"ctrl+h"
]
},
{
"args": {
"extend": true,
"to": "bol"
},
"command": "move_to",
"context": [],
"keys": [
"ctrl+shift+h"
]
},
{
"args": {
"extend": true,
"to": "eol"
},
"command": "move_to",
"context": [],
"keys": [
"ctrl+shift+quote"
]
},
{
"args": {
"commands": [
{
"args": {
"by": "words",
"extend": false,
"forward": false
},
"command": "move"
},
{
"args": {
"token_type": "word"
},
"command": "volcanise"
}
]
},
"command": "sequence",
"context": [
{
"key": "setting.volcanise",
"operand": false,
"operator": "equal"
}
],
"keys": [
"ctrl+n"
]
},
{
"args": {
"commands": [
{
"args": {
"by": "word_ends",
"extend": false,
"forward": true
},
"command": "move"
},
{
"args": {
"token_type": "word"
},
"command": "volcanise"
}
]
},
"command": "sequence",
"context": [
{
"key": "setting.volcanise",
"operand": false,
"operator": "equal"
}
],
"keys": [
"ctrl+i"
]
},
{
"args": {
"commands": [
{
"args": {
"by": "lines",
"extend": false,
"forward": false
},
"command": "move"
},
{
"args": {
"token_type": "word"
},
"command": "volcanise"
}
]
},
"command": "sequence",
"context": [
{
"key": "setting.volcanise",
"operand": false,
"operator": "equal"
}
],
"keys": [
"ctrl+u"
]
},
{
"args": {
"commands": [
{
"args": {
"by": "lines",
"extend": false,
"forward": true
},
"command": "move"
},
{
"args": {
"token_type": "word"
},
"command": "volcanise"
}
]
},
"command": "sequence",
"context": [
{
"key": "setting.volcanise",
"operand": false,
"operator": "equal"
}
],
"keys": [
"ctrl+e"
]
},
{
"args": {
"commands": [
{
"args": {
"by": "characters",
"extend": true,
"forward": false
},
"command": "move"
},
{
"args": {
"token_type": "word"
},
"command": "volcanise"
}
]
},
"command": "sequence",
"context": [
{
"key": "setting.volcanise",
"operand": false,
"operator": "equal"
}
],
"keys": [
"ctrl+shift+n"
]
},
{
"args": {
"commands": [
{
"args": {
"by": "characters",
"extend": true,
"forward": true
},
"command": "move"
},
{
"args": {
"token_type": "word"
},
"command": "volcanise"
}
]
},
"command": "sequence",
"context": [
{
"key": "setting.volcanise",
"operand": false,
"operator": "equal"
}
],
"keys": [
"ctrl+shift+i"
]
},
{
"args": {
"commands": [
{
"args": {
"by": "lines",
"extend": true,
"forward": false
},
"command": "move"
},
{
"args": {
"token_type": "word"
},
"command": "volcanise"
}
]
},
"command": "sequence",
"context": [
{
"key": "setting.volcanise",
"operand": false,
"operator": "equal"
}
],
"keys": [
"ctrl+shift+u"
]
},
{
"args": {
"commands": [
{
"args": {
"by": "lines",
"extend": true,
"forward": true
},
"command": "move"
},
{
"args": {
"token_type": "word"
},
"command": "volcanise"
}
]
},
"command": "sequence",
"context": [
{
"key": "setting.volcanise",
"operand": false,
"operator": "equal"
}
],
"keys": [
"ctrl+shift+e"
]
},
{
"args": {
"by": "characters",
"extend": true,
"forward": false
},
"command": "move",
"context": [
{
"key": "setting.volcanise",
"operand": true,
"operator": "equal"
}
],
"keys": [
"ctrl+shift+n"
]
},
{
"args": {
"by": "characters",
"extend": true,
"forward": true
},
"command": "move",
"context": [
{
"key": "setting.volcanise",
"operand": true,
"operator": "equal"
}
],
"keys": [
"ctrl+shift+i"
]
},
{
"args": {
"by": "lines",
"extend": true,
"forward": false
},
"command": "move",
"context": [
{
"key": "setting.volcanise",
"operand": true,
"operator": "equal"
}
],
"keys": [
"ctrl+shift+u"
]
},
{
"args": {
"by": "lines",
"extend": true,
"forward": true
},
"command": "move",
"context": [
{
"key": "setting.volcanise",
"operand": true,
"operator": "equal"
}
],
"keys": [
"ctrl+shift+e"
]
},
{
"args": {
"to": "word"
},
"command": "expand_selection",
"context": [
{
"key": "setting.volcanise",
"operand": true,
"operator": "equal"
}
],
"keys": [
"ctrl+d"
]
},
{
"args": {
"by": "characters",
"extend": true,
"forward": false
},
"command": "move",
"context": [
{
"key": "setting.volcanise",
"operand": true,
"operator": "equal"
}
],
"keys": [
"ctrl+shift+n"
]
},
{
"args": {
"by": "characters",
"extend": true,
"forward": true
},
"command": "move",
"context": [
{
"key": "setting.volcanise",
"operand": true,
"operator": "equal"
}
],
"keys": [
"ctrl+shift+i"
]
},
{
"args": {
"by": "lines",
"extend": true,
"forward": false
},
"command": "move",
"context": [
{
"key": "setting.volcanise",
"operand": true,
"operator": "equal"
}
],
"keys": [
"ctrl+shift+u"
]
},
{
"args": {
"by": "lines",
"extend": true,
"forward": true
},
"command": "move",
"context": [
{
"key": "setting.volcanise",
"operand": true,
"operator": "equal"
}
],
"keys": [
"ctrl+shift+e"
]
},
{
"args": {
"cmd": "reverse"
},
"command": "volcanise",
"context": [
{
"key": "setting.volcanise",
"operand": true,
"operator": "equal"
}
],
"keys": [
"ctrl+r"
]
},
{
"__doc__" : "Copy this to the end of your User/ keymap",
"command": "volcanise",
"context": [
{
"key": "setting.volcanise",
"operand": true,
"operator": "equal"
},
{
"key": "setting.command_mode",
"operand": true,
"operator": "equal"
}
],
"keys": [
"<character>"
]
},
{
"__doc__" : "Copy this to the end of your User/ keymap after <character>",
"args": {
"characters": " "
},
"command": "insert",
"context": [
{
"key": "setting.volcanise",
"operand": true,
"operator": "equal"
},
{
"key": "setting.command_mode",
"operand": true,
"operator": "equal"
}
],
"keys": [
"space"
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment