Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (36 sloc) 1.68 KB
[
// Add alt+up/down for SmartCursor
{ "keys": ["alt+up"], "command": "smart_cursor", "args": {"cmd": "move", "by": "lines", "forward": false}, "context":
[
{ "key": "auto_complete_visible", "operator": "equal", "operand": false },
{ "key": "setting.command_mode", "operand": false },
{ "key": "setting.is_widget", "operator": "equal", "operand": false },
{ "key": "panel_has_focus", "operator": "equal", "operand": false }
]
},
{ "keys": ["alt+down"], "command": "smart_cursor", "args": {"cmd": "move", "by": "lines", "forward": true}, "context":
[
{ "key": "auto_complete_visible", "operator": "equal", "operand": false },
{ "key": "setting.command_mode", "operand": false },
{ "key": "setting.is_widget", "operator": "equal", "operand": false },
{ "key": "panel_has_focus", "operator": "equal", "operand": false }
]
},
// Replace standard up/down with SmartCursor
{ "keys": ["up"], "command": "smart_cursor", "args": {"cmd": "move", "by": "lines", "forward": false}, "context":
[
{ "key": "auto_complete_visible", "operator": "equal", "operand": false },
{ "key": "setting.command_mode", "operand": false },
{ "key": "setting.is_widget", "operator": "equal", "operand": false },
{ "key": "panel_has_focus", "operator": "equal", "operand": false }
]
},
{ "keys": ["down"], "command": "smart_cursor", "args": {"cmd": "move", "by": "lines", "forward": true}, "context":
[
{ "key": "auto_complete_visible", "operator": "equal", "operand": false },
{ "key": "setting.command_mode", "operand": false },
{ "key": "setting.is_widget", "operator": "equal", "operand": false },
{ "key": "panel_has_focus", "operator": "equal", "operand": false }
]
}
]