Skip to content

Instantly share code, notes, and snippets.

@yashha
Created February 12, 2017 23:56
Show Gist options
  • Save yashha/2e344bfb712afbc9f6bb6af1478d8f66 to your computer and use it in GitHub Desktop.
Save yashha/2e344bfb712afbc9f6bb6af1478d8f66 to your computer and use it in GitHub Desktop.
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 12,
// font family with optional fallbacks
fontFamily: 'Menlo, "DejaVu Sans Mono", "Lucida Console", monospace',
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk)
cursorColor: '#F81CE5',
// `BEAM` for |, `UNDERLINE` for _, `BLOCK` for █
cursorShape: 'BLOCK',
// color of the text
foregroundColor: '#fff',
// terminal background color
backgroundColor: 'rgba(0,0,0,0.5)',
// border color (window, tabs)
borderColor: '#333',
// custom css to embed in the main window
css: '',
// custom css to embed in the terminal window
termCSS: '',
// custom padding (css format, i.e.: `top right bottom left`)
padding: '2px 5px',
// 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
// an array here instead of a color map object
colors: {
black: '#000000',
red: '#ff0000',
green: '#33ff00',
yellow: '#ffff00',
blue: '#0066ff',
magenta: '#cc00ff',
cyan: '#00ffff',
white: '#fff',
lightBlack: '#808080',
lightRed: '#ff0000',
lightGreen: '#33ff00',
lightYellow: '#ffff00',
lightBlue: '#0066ff',
lightMagenta: '#cc00ff',
lightCyan: '#00ffff',
lightWhite: '#ffffff'
},
// 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: false,
// URL to custom bell
// bellSoundURL: 'http://example.com/bell.mp3',
// for advanced config flags please refer to https://hyper.is/#cfg
overlay: {
alwaysOnTop: true,
animate: true,
hasShadow: false,
hideDock: false,
hideOnBlur: true,
hotkeys: ['CommandOrControl+Space'],
position: 'top',
primaryDisplay: false,
resizable: true,
startAlone: true,
startup: true,
size: 0.5,
tray: true,
unique: true
},
alternateScroll: {
// 1 to 100 is supported
scrollSpeed: 80
},
paneNavigation: {
debug: false,
hotkeys: {
navigation: {
up: 'ctrl+alt+up',
down: 'ctrl+alt+down',
left: 'ctrl+alt+left',
right: 'ctrl+alt+right'
},
jump_prefix: 'ctrl+alt', // completed with 1-9 digits
permutation_modifier: 'shift', // Added to jump and navigation hotkeys for pane permutation
},
showIndicators: true, // Show pane number
indicatorPrefix: '^⌥', // Will be completed with pane number
indicatorStyle: { // Added to indicator <div>
position: 'absolute',
top: 0,
left: 0,
fontSize: '10px'
},
},
hyperBorder: {
animate: true,
}
},
// a list of plugins to fetch and install from npm
// format: [@org/]project[#version]
// examples:
// `hyperpower`
// `@company/project`
// `project#1.0.1`
plugins: [
'hyperterm-overlay',
'hyperterm-alternatescroll',
'hyperminimal',
'hyperterm-material',
'hyper-pane',
'hyper-blink',
'hyperterm-tabs',
'hyperlinks',
'hyperterm-dibdabs',
'hyperborder',
//'hyperpower',
'hypercwd',
'hyperterm-paste',
],
// 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: []
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment