2019-02-08 08:03:23 +00:00
|
|
|
[
|
2019-09-27 08:29:26 +00:00
|
|
|
// Open folder
|
|
|
|
{
|
|
|
|
"keys": ["ctrl+shift+o"],
|
|
|
|
"command": "prompt_open_folder"
|
|
|
|
},
|
2019-02-08 08:03:23 +00:00
|
|
|
|
2019-09-27 08:29:26 +00:00
|
|
|
// Switch case
|
|
|
|
{
|
|
|
|
"keys": ["ctrl+u"],
|
|
|
|
"command": "swap_case"
|
|
|
|
},
|
2019-02-08 08:03:23 +00:00
|
|
|
|
2019-09-27 08:29:26 +00:00
|
|
|
// Change Ctrl+Shift behaviour (Firefox-like)
|
|
|
|
{
|
|
|
|
"keys": ["ctrl+tab"],
|
|
|
|
"command": "next_view"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"keys": ["ctrl+shift+tab"],
|
|
|
|
"command": "prev_view"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"keys": ["ctrl+pagedown"],
|
|
|
|
"command": "next_view_in_stack"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"keys": ["ctrl+pageup"],
|
|
|
|
"command": "prev_view_in_stack"
|
|
|
|
},
|
2019-02-08 08:03:23 +00:00
|
|
|
|
2019-09-27 08:29:26 +00:00
|
|
|
// Lord, do I hate Ctrl+q ... Deactivated because of Layout
|
|
|
|
//{ "keys": ["ctrl+q"], "command": "unbound"},
|
2019-02-08 08:03:23 +00:00
|
|
|
|
2019-09-27 08:29:26 +00:00
|
|
|
// Allow Alt+C to comment:
|
|
|
|
{
|
|
|
|
"keys": ["alt+c"],
|
|
|
|
"command": "toggle_comment",
|
|
|
|
"args":
|
|
|
|
{
|
|
|
|
"block": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"keys": ["alt+c"],
|
|
|
|
"command": "toggle_comment",
|
|
|
|
"args":
|
|
|
|
{
|
|
|
|
"block": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"keys": ["ctrl+/"],
|
|
|
|
"command": "toggle_comment",
|
|
|
|
"args":
|
|
|
|
{
|
|
|
|
"block": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"keys": ["ctrl+shift+/"],
|
|
|
|
"command": "toggle_comment",
|
|
|
|
"args":
|
|
|
|
{
|
|
|
|
"block": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
// View settings
|
|
|
|
{
|
|
|
|
"keys": ["ctrl+alt+&"],
|
|
|
|
"command": "set_layout",
|
|
|
|
"args":
|
|
|
|
{
|
|
|
|
"cols": [0.0, 1.0],
|
|
|
|
"rows": [0.0, 1.0],
|
|
|
|
"cells": [
|
|
|
|
[0, 0, 1, 1]
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"keys": ["ctrl+alt+é"],
|
|
|
|
"command": "set_layout",
|
|
|
|
"args":
|
|
|
|
{
|
|
|
|
"cols": [0.0, 0.5, 1.0],
|
|
|
|
"rows": [0.0, 1.0],
|
|
|
|
"cells": [
|
|
|
|
[0, 0, 1, 1],
|
|
|
|
[1, 0, 2, 1]
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"keys": ["ctrl+alt+\""],
|
|
|
|
"command": "set_layout",
|
|
|
|
"args":
|
|
|
|
{
|
|
|
|
"cols": [0.0, 0.5, 1.0],
|
|
|
|
"rows": [0.0, 0.5, 1.0],
|
|
|
|
"cells": [
|
|
|
|
[0, 0, 1, 1],
|
|
|
|
[1, 0, 2, 1],
|
|
|
|
[0, 1, 2, 2]
|
|
|
|
]
|
|
|
|
// "cols": [0.0, 0.33, 0.66, 1.0],
|
|
|
|
// "rows": [0.0, 1.0],
|
|
|
|
// "cells": [[0, 0, 1, 1], [1, 0, 2, 1], [2, 0, 3, 1]]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"keys": ["alt+shift+4"],
|
|
|
|
"command": "set_layout",
|
|
|
|
"args":
|
|
|
|
{
|
|
|
|
"cols": [0.0, 0.25, 0.5, 0.75, 1.0],
|
|
|
|
"rows": [0.0, 1.0],
|
|
|
|
"cells": [
|
|
|
|
[0, 0, 1, 1],
|
|
|
|
[1, 0, 2, 1],
|
|
|
|
[2, 0, 3, 1],
|
|
|
|
[3, 0, 4, 1]
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"keys": ["ctrl+alt+("],
|
|
|
|
"command": "set_layout",
|
|
|
|
"args":
|
|
|
|
{
|
|
|
|
"cols": [0.0, 1.0],
|
|
|
|
"rows": [0.0, 0.5, 1.0],
|
|
|
|
"cells": [
|
|
|
|
[0, 0, 1, 1],
|
|
|
|
[0, 1, 1, 2]
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"keys": ["alt+shift+9"],
|
|
|
|
"command": "set_layout",
|
|
|
|
"args":
|
|
|
|
{
|
|
|
|
"cols": [0.0, 1.0],
|
|
|
|
"rows": [0.0, 0.33, 0.66, 1.0],
|
|
|
|
"cells": [
|
|
|
|
[0, 0, 1, 1],
|
|
|
|
[0, 1, 1, 2],
|
|
|
|
[0, 2, 1, 3]
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"keys": ["ctrl+alt+'"],
|
|
|
|
"command": "set_layout",
|
|
|
|
"args":
|
|
|
|
{
|
|
|
|
"cols": [0.0, 0.5, 1.0],
|
|
|
|
"rows": [0.0, 0.5, 1.0],
|
|
|
|
"cells": [
|
|
|
|
[0, 0, 1, 1],
|
|
|
|
[1, 0, 2, 1],
|
|
|
|
[0, 1, 1, 2],
|
|
|
|
[1, 1, 2, 2]
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"keys": ["ctrl+alt+o"],
|
|
|
|
"command": "project_manager",
|
|
|
|
"args":
|
|
|
|
{
|
|
|
|
"action": "new"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"keys": ["ctrl+alt+s"],
|
|
|
|
"command": "toggle_side_bar"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"keys": ["ctrl+alt+h"],
|
|
|
|
"command": "htmlprettify"
|
|
|
|
},
|
|
|
|
|
|
|
|
// LaTeX compilation set to Ctrl+Enter
|
|
|
|
// Doesn't work...
|
|
|
|
// {
|
2020-12-28 12:23:05 +00:00
|
|
|
// "keys": ["ctrl+enter"],
|
|
|
|
// "context": [
|
|
|
|
// {"key": "selector", "operator": "equal", "operand": "text.tex.latex"},
|
|
|
|
// {"key": "latextools.st_version", "operator": "equal", "operand": "<3080"}],
|
|
|
|
// "command": "latextools_build_selector"
|
2019-09-27 08:29:26 +00:00
|
|
|
// },
|
|
|
|
]
|