Skip to content

Instantly share code, notes, and snippets.

@DaneTheory
Last active April 3, 2019 13:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DaneTheory/ac1b99f3e3ae5d5062e13954018ec4eb to your computer and use it in GitHub Desktop.
Save DaneTheory/ac1b99f3e3ae5d5062e13954018ec4eb to your computer and use it in GitHub Desktop.
Auto Sync My Hyper Settings
// -- hyper-stylesheet-hash:128569e017c92721d52dee4a814c9cf1 --
/* =================================
GLOBAL HYPER CONFIGS
- Ref: https://hyper.is#cfg
==================================== */
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: 'Menlo, "DejaVu Sans Mono", Consolas, "Lucida Console", monospace',
// default font weight: 'normal' or 'bold'
fontWeight: 'normal',
// font weight for bold characters: 'normal' or 'bold'
fontWeightBold: 'bold',
// line height as a relative unit
lineHeight: 1,
// letter spacing as a relative unit
letterSpacing: 0,
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk)
cursorColor: 'rgba(248,28,229,0.8)',
// 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: '#fff',
// terminal background color
// opacity is only supported on macOS
backgroundColor: '#000',
// terminal selection color
selectionColor: 'rgba(248,28,229,0.3)',
// border color (window, tabs)
borderColor: '#333',
// custom CSS to embed in the main window
css: '',
// custom CSS to embed in the terminal window
termCSS: '',
// 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` (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` (without backticks and without quotes) on Windows and Linux, ignored on macOS
showWindowControls: '',
// custom padding (CSS format, i.e.: `top right bottom left`)
padding: '12px 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
// an array here instead of a color map object
colors: {
black: '#000000',
red: '#C51E14',
green: '#1DC121',
yellow: '#C7C329',
blue: '#0A2FC4',
magenta: '#C839C5',
cyan: '#20C5C6',
white: '#C7C7C7',
lightBlack: '#686868',
lightRed: '#FD6F6B',
lightGreen: '#67F86F',
lightYellow: '#FFFA72',
lightBlue: '#6A76FB',
lightMagenta: '#FD7CFC',
lightCyan: '#68FDFE',
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
//
// 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
shellArgs: ['--login'],
// for environment variables
env: {},
// set to `false` for no bell
bell: 'SOUND',
// 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
/*----------------------
HYPER PLUGIN CONFIGS
----------------------*/
// Hyperline - https://github.com/hyperline/hyperline
// hyperline: {
// plugins: [
// "hostname",
// "ip",
// "network",
// // "memory",
// // "battery",
// // "cpu",
// // "spotify"
// ]
// },
// Hypercwd - https://github.com/hharnisc/hypercwd
// hypercwd: {
// initialWorkingDirectory: '~/'
// },
// Hyper-Sync-Settings - https://github.com/dfrankland/hyper-sync-settings
// syncSettings: {
// quiet: false,
// accelerators: {
// checkForUpdates: 'CommandOrControl+1',
// backupSettings: 'CommandOrControl+2',
// restoreSettings: 'CommandOrControl+3',
// openGist: 'CommandOrControl+4',
// openRepo: 'CommandOrControl+5',
// openConfiguration: 'CommandOrControl+6'
// }
// },
// Hyperterm-Paste - https://github.com/krzkaczor/hyperterm-paste
// Hyperterm-Dibdabs - https://github.com/supercrabtree/hyperterm-dibdabs
// 'hyperterm-dibdabs': {
// overrides: {
// '~/': '#000000',
// '~/Documents': '#40BFA8',
// '~/Development': '#C0FFEE'
// }
// },
// Hyper-Statusline - https://github.com/henrikdahl/hyper-statusline
hyperStatusLine: {
dirtyColor: 'salmon',
aheadColor: 'ivory',
footerTransparent: true,
},
// Hyper-Tabs-Enhanced - https://github.com/henrikdahl/hyper-tabs-enhanced
hyperTabs: {
trafficButtons: false,
border: false,
tabIcons: true,
tabIconsColored: false,
activityColor: 'salmon',
closeAlign: 'left',
activityPulse: true,
},
// Hyper File.io - https://github.com/joao-alberto/hyper-fileio
// Hyper-Broadcast - https://github.com/chabou/hyper-broadcast
broadcast: {
debug: false,
hotkeys: {
selectCurrentPane: "Command+Alt+Shift+B",
selectCurrentTabPanes: "Command+Alt+B",
selectAllPanes: "Command+Shift+B",
toggleCurrentPane: "Command+Alt+Control+Shift+B"
},
indicatorStyle: {
position: "absolute",
top: 5,
right: 10,
borderRadius: "50%",
width: "10px",
height: "10px",
background: "red"
}
},
// Hyper-Search - https://github.com/jaanauati/hyper-search
// Hyper-Quit - https://github.com/cblecker/hyper-quit
// Hyper-Savetext - https://github.com/neil-orans/hyper-savetext
// Hyper-Visual - https://github.com/linonetwo/hyper-visual
// visual: {
// // is panel default opened
// opened: true,
// // panel's margin-top
// top: '35px',
// // panel's margin-bottom
// bottom: '1px',
// // hotkey to toggle panel (broken)
// hotkey: 'Ctrl+G',
// // setting of contexts
// context: {
// // setting for npm scripts
// node: {
// // choose npm or yarn
// tool: 'npm',
// },
// }
// },
// Hyperterm-Close-Cn-Left - https://github.com/jhen0409/hyperterm-close-on-left#readme
// Hyperterm-Mactabs - https://github.com/insanityfarm/hyperterm-mactabs
// Hyper Overlay - https://github.com/favna/hyper-overlay
// overlay: {
// alwaysOnTop: true,
// animate: true,
// hasShadow: false,
// hideDock: false,
// hideOnBlur: false,
// hotkeys: {
// open: ['Control+Space'], // On MacOS hotkey is default to Option + Space!
// close: ['Shift+Escape'], // On MacOS hotkey is default to Option + Escape!
// },
// position: 'top',
// primaryDisplay: false,
// resizable: true,
// size: {
// width: 0.75,
// height: 0.75,
// visibleOnAllWorkspaces: true,
// },
// startAlone: false,
// startup: true,
// tray: true,
// unique: false
// },
// Hyper-Init - https://github.com/daltonmenezes/hyper-init
// - Example: commands: ['cd ~/Desktop', 'ls']
// init: [
// {
// rule: 'once',
// commands: ['echo RULE: "once" => executes your commands only at Hyper starts']
// },
// {
// rule: 'windows',
// commands: ['echo RULE: "windows" => executes your commands only at new windows']
// },
// {
// rule: 'tabs',
// commands: ['echo RULE: "tabs" => executes your commands only at new tabs']
// },
// {
// rule: 'splitted',
// commands: ['echo RULE: "splitted" => executes your commands only at splitted windows']
// },
// {
// rule: 'all',
// commands: ['echo RULE: "all" => executes your commands with all described states previously']
// },
// ],
// clearCommand: 'reset',
// Hyperterm-Overlay - https://github.com/rickgbw/hyperterm-overlay
overlay: {
alwaysOnTop: true,
animate: true,
hasShadow: true,
hideDock: false,
hideOnBlur: true,
hotkeys: [
'Option+Space'
],
position: 'top',
primaryDisplay: false,
resizable: true,
startAlone: false,
startup: true,
size: 0.65,
tray: true,
unique: false
},
// Hyperterm-Crosshair - https://github.com/aurelienbottazini/hyperterm-crosshair
// hypertermCrosshair: {
// // You can use any valid CSS color string
// color: 'rgba(119, 172, 217, 0.2)',
// }
// Hyperterm-Cursor - https://github.com/alvaropinot/hyperterm-cursor
// Hyper-Stylesheet - https://github.com/chrisdothtml/hyper-stylesheet
'hyper-stylesheet': {
autoReload: true
},
// hyper-dark-scrollbar - https://github.com/moso/hyper-dark-scrollbar#hyper-dark-scrollbar
// hyper-arc-dark-controls - https://github.com/moso/hyper-arc-dark-controls
// HyperCwd - https://github.com/hharnisc/hypercwd
hypercwd: {
initialWorkingDirectory: '~/'
},
// Hyper-mac-controls - https://github.com/krve/hyper-mac-controls
showWindowControls: 'left',
hyperMacControls: {
flipped: true,
},
paneNavigation: {
debug: true,
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
maximize: 'meta+enter'
},
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'
},
focusOnMouseHover: false,
inactivePaneOpacity: 0.6 // Set to 1 to disable inactive panes dimming
},
// hyper-always-on-top - https://github.com/chabou/hyper-always-on-top
// alwaysOnTop: {
// debug: false,
// default: true // enabled on application start
// },
// hyper-transparent-dynamic - https://github.com/magus/hyper-transparent-dynamic#readme
// hyperTransparentDynamic: {
// alpha: 0.5 // default 50%
// },
hyperTransparent: {
// backgroundColor: '#4b4',
opacity: 0.2,
vibrancy: ['', 'dark', 'medium-light', 'ultra-dark']
},
},
// Active Hyper Plugins
plugins: [// "hyperterm-dibdabs"
// "hyper-fileio",
// "hyper-quit",
// "hyper-visual",
// "hyper-chesterish",
"hyper-sync-settings", // "hyperterm-mactabs"
"hyper-savetext", // "hyperterm-close-on-left",
"hyper-statusline",
"hyper-tabs-enhanced",
"hyper-mac-controls", // "hyper-pocillo-controls",
"hypercwd", // "hyperlayout",
"hyper-blink", // "hyper-overlay",
"hyper-dark-scrollbar", // "hyper-init",
// "hyperterm-crosshair",
// "hyperminimal"
"hyper-search", "hyperterm-paste", "hyper-broadcast",
"hyper-snazzy",
// "hyper-transparent-dynamic",
"hyper-transparent",
"hyper-stylesheet",
// "hyper-always-on-top",
"hyperterm-overlay"
],
// 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: {
// Example
// 'window:devtools': 'cmd+alt+o',
},
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment