-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
41 lines (41 loc) · 1.29 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// For more information on customizing Oni,
// check out our wiki page:
// https://github.com/onivim/oni/wiki/Configuration
var activate = function (oni) {
console.log("config activated");
// Input
//
// Add input bindings here:
//
oni.input.bind("<c-f11>", "oni.debug.openDevTools");
// oni.input.bind("<c-enter>", () => console.log("Control+Enter was pressed"))
oni.input.bind(["<enter>"], "contextMenu.select");
oni.input.bind(["<tab>"], "contextMenu.next");
oni.input.bind(["<s-tab>"], "contextMenu.previous");
oni.input.bind(["<c-j>"], "language.gotoDefinition");
//
// Or remove the default bindings:
//
// oni.input.unbind("<c-p>")
};
var deactivate = function () {
console.log("config deactivated");
};
module.exports = {
activate: activate,
deactivate: deactivate,
//add custom config here, such as
"oni.useDefaultConfig": false,
//"oni.bookmarks": ["~/Documents"],
"oni.loadInitVim": true,
"ui.colorscheme": "n/a",
"editor.fontSize": "11px",
"editor.fontFamily": "FiraCode-Bold",
// UI customizations
"ui.animations.enabled": true,
"ui.fontSmoothing": "auto",
"sidebar.enabled": false,
"statusbar.enabled": false,
"tabs.mode": "native",
"experimental.indentLines.enabled": true
};