-
Notifications
You must be signed in to change notification settings - Fork 0
/
hyper.js
81 lines (62 loc) · 2.35 KB
/
hyper.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 17,
// font family with optional fallbacks
fontFamily: '"Inconsolata-g for Powerline", Menlo, "DejaVu Sans Mono", "Lucida Console", monospace',
// `BEAM` for |, `UNDERLINE` for _, `BLOCK` for █
cursorShape: 'BLOCK',
// color of the text
foregroundColor: '#839496',
/// terminal background color
backgroundColor: '#002833',
// text selection
selectionColor: "rgba(170,120,0,0.6)",
// custom css to embed in the main window
css: '',
// custom css to embed in the terminal window
termCSS: `
`,
// set to `true` if you're using a Linux set up
// that doesn't shows native menus
// default: `false` on Linux, `true` on Windows (ignored on macOS)
showHamburgerMenu: 'false',
// set to `false` if you want to hide the minimize, maximize and close buttons
// additionally, set to `'left'` if you want them on the left, like in Ubuntu
// default: `true` on windows and Linux (ignored on macOS)
// showWindowControls: 'left',
// custom padding (css format, i.e.: `top right bottom left`)
padding: '4px 4px',
// the shell to run when spawning a new session (i.e. /usr/local/bin/fish)
// if left empty, your system's login shell will be used by default
shell: '',
// for setting shell arguments (i.e. for using interactive shellArgs: ['-i'])
// by default ['--login'] will be used
shellArgs: ['--login'],
// for environment variables
env: {},
// set to false for no bell
bell: false,
// if true, selected text will automatically be copied to the clipboard
copyOnSelect: true,
// URL to custom bell
// bellSoundURL: 'http://example.com/bell.mp3',
scrollback: 10000,
// for advanced config flags please refer to https://hyper.is/#cfg
},
// a list of plugins to fetch and install from npm
// format: [@org/]project[#version]
// examples:
// `hyperpower`
// `@company/project`
// `project#1.0.1`
// plugins: ['hyperterm-mactabs'],
plugins: ["hyper-solarized-dark", "hyper-search"],
// in development, you can create a directory under
// `~/.hyper_plugins/local/` and include it here
// to load it and avoid it being `npm install`ed
localPlugins: [],
keymaps: {
'window:devtools': 'cmd+alt+o'
}
};