diff options
author | Jakob Stendahl <jakob.stendahl@outlook.com> | 2018-05-20 14:01:24 +0200 |
---|---|---|
committer | Jakob Stendahl <jakob.stendahl@outlook.com> | 2018-05-20 14:01:24 +0200 |
commit | 75c4df6540c7e963ff48d3e37576956489ef165d (patch) | |
tree | 43f553eb4ac34ef2249e7a9a4d66d7795e7ff5ce /Hyperterm/hyper.js | |
parent | dadf4f7e58f1d192b869b97798feade6362a101b (diff) | |
download | dotfiles-75c4df6540c7e963ff48d3e37576956489ef165d.tar.gz dotfiles-75c4df6540c7e963ff48d3e37576956489ef165d.zip |
Made things work
Diffstat (limited to 'Hyperterm/hyper.js')
-rw-r--r-- | Hyperterm/hyper.js | 106 |
1 files changed, 64 insertions, 42 deletions
diff --git a/Hyperterm/hyper.js b/Hyperterm/hyper.js index 169b16d..b0c50cd 100644 --- a/Hyperterm/hyper.js +++ b/Hyperterm/hyper.js @@ -1,55 +1,63 @@ - module.exports = { config: { + // choose either `'stable'` for receiving highly polished, + // or `'canary'` for less polished but more frequent updates + updateChannel: 'stable', + // default font size in pixels for all tabs fontSize: 12, // font family with optional fallbacks fontFamily: '"Roboto Mono", "Fira Code", Menlo, "DejaVu Sans Mono", "Lucida Console", monospace', + // default font weight: 'normal' or 'bold' + fontWeight: 'normal', + + // font weight for bold characters: 'normal' or 'bold' + fontWeightBold: 'bold', + // terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk) cursorColor: '#2C85F7', - // `BEAM` for |, `UNDERLINE` for _, `BLOCK` for █ + // terminal text color under BLOCK cursor + cursorAccentColor: '#000', + + // `'BEAM'` for |, `'UNDERLINE'` for _, `'BLOCK'` for █ cursorShape: 'BLOCK', + // set to `true` (without backticks and without quotes) for blinking cursor + cursorBlink: false, + // color of the text foregroundColor: '#00ff00', // terminal background color + // opacity is only supported on macOS backgroundColor: '#293340', + // terminal selection color + selectionColor: 'rgba(248,28,229,0.3)', + // border color (window, tabs) borderColor: '#323E4D', - // custom css to embed in the main window - css: ` - ::selection { - background: #9198A2 !important; - } - x-screen x-row { - font-variant-ligatures: initial; - } - span { - font-weight: normal !important; - } - `, - - // custom css to embed in the terminal window + // 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) + // if you're using a Linux setup which show native menus, set to false + // default: `true` on Linux, `true` on Windows, ignored on macOS showHamburgerMenu: '', - // set to `false` if you want to hide the minimize, maximize and close buttons + // set to `false` (without backticks and without quotes) 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: true, + // default: `true` (without backticks and without quotes) on Windows and Linux, ignored on macOS + showWindowControls: false, - // custom padding (css format, i.e.: `top right bottom left`) - padding: '12px 14px', + // custom padding (CSS format, i.e.: `top right bottom left`) + padding: '12px 14px 0 14px', // the full list. if you're going to provide the full color palette, // including the 6 x 6 color cubes and the grayscale map, just provide @@ -70,42 +78,56 @@ module.exports = { lightBlue : '#4CB2FF', lightMagenta : '#BE86E3', lightCyan : '#2DCED0', - lightWhite : '#CDD2E9' + lightWhite : '#CDD2E9' }, // 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 + // + // Windows + // - Make sure to use a full path if the binary name doesn't work + // - Remove `--login` in shellArgs + // + // Bash on Windows + // - Example: `C:\\Windows\\System32\\bash.exe` + // + // PowerShell on Windows + // - Example: `C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe` shell: '', - // for setting shell arguments (i.e. for using interactive shellArgs: ['-i']) - // by default ['--login'] will be used + // 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 + // set to `false` for no bell bell: 'SOUND', - // if true, selected text will automatically be copied to the clipboard - copyOnSelect: false + // if `true` (without backticks and without quotes), selected text will automatically be copied to the clipboard + copyOnSelect: false, + + // if `true` (without backticks and without quotes), hyper will be set as the default protocol client for SSH + defaultSSHApp: true, + + // if `true` (without backticks and without quotes), on right click selected text will be copied or pasted if no + // selection is present (`true` by default on Windows and disables the context menu feature) + // quickEdit: true, // URL to custom bell // bellSoundURL: 'http://example.com/bell.mp3', // for advanced config flags please refer to https://hyper.is/#cfg + commands: [ "tmux && exit" ], + }, + + plugins: [ "hyper-startup", "hyper-dark-scrollbar", "hyperlinks", "gitrocket", "space-pull", "hyper-blink" ], + + localPlugins: [ "hideTitle" ], + + keymaps: { + // 'window:devtools': 'cmd+alt+o', }, - // a list of plugins to fetch and install from npm - // format: [@org/]project[#version] - // examples: - // `hyperpower` - // `@company/project` - // `project#1.0.1` - plugins: [ 'hyperline#0.6.1', 'hyper-dark-scrollbar', 'hypercwd', 'hyperlinks', 'gitrocket', 'space-pull', 'hyper-blink' ], - - // 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: [] }; |