kevin2458

Untitled

Oct 24th, 2018
160
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Future versions of Hyper may add additional config options,
  2. // which will not automatically be merged into this file.
  3. // See https://hyper.is#cfg for all currently supported options.
  4.  
  5. module.exports = {
  6. config: {
  7. // choose either `'stable'` for receiving highly polished,
  8. // or `'canary'` for less polished but more frequent updates
  9. updateChannel: 'stable',
  10.  
  11. // default font size in pixels for all tabs
  12. fontSize: 20,
  13.  
  14. // font family with optional fallbacks
  15. fontFamily: '"Source Code Pro for Powerline", Menlo, "DejaVu Sans Mono", Consolas, "Lucida Console", monospace',
  16.  
  17. // default font weight: 'normal' or 'bold'
  18. fontWeight: 'normal',
  19.  
  20. // font weight for bold characters: 'normal' or 'bold'
  21. fontWeightBold: 'bold',
  22.  
  23. // terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk)
  24. cursorColor: 'rgba(248,28,229,0.8)',
  25.  
  26. // terminal text color under BLOCK cursor
  27. cursorAccentColor: '#000',
  28.  
  29. // `'BEAM'` for |, `'UNDERLINE'` for _, `'BLOCK'` for █
  30. cursorShape: 'BLOCK',
  31.  
  32. // set to `true` (without backticks and without quotes) for blinking cursor
  33. cursorBlink: true,
  34.  
  35. // color of the text
  36. foregroundColor: '#fff',
  37.  
  38. // terminal background color
  39. // opacity is only supported on macOS
  40. backgroundColor: '#282A36',
  41.  
  42. // terminal selection color
  43. selectionColor: 'rgba(248,28,229,0.2)',
  44.  
  45. // border color (window, tabs)
  46. borderColor: '#333',
  47.  
  48. // custom CSS to embed in the main window
  49. css: '.hyper_mainRounded.jsx-4184542536 { border-width: 0px !important; }',
  50.  
  51. // custom CSS to embed in the terminal window
  52. termCSS: '',
  53.  
  54. // if you're using a Linux setup which show native menus, set to false
  55. // default: `true` on Linux, `true` on Windows, ignored on macOS
  56. showHamburgerMenu: '',
  57.  
  58. // set to `false` (without backticks and without quotes) if you want to hide the minimize, maximize and close buttons
  59. // additionally, set to `'left'` if you want them on the left, like in Ubuntu
  60. // default: `true` (without backticks and without quotes) on Windows and Linux, ignored on macOS
  61. showWindowControls: '',
  62.  
  63. // custom padding (CSS format, i.e.: `top right bottom left`)
  64. padding: '12px 14px',
  65.  
  66. // the full list. if you're going to provide the full color palette,
  67. // including the 6 x 6 color cubes and the grayscale map, just provide
  68. // an array here instead of a color map object
  69. colors: {
  70. black: '#000000',
  71. red: '#C51E14',
  72. green: '#1DC121',
  73. yellow: '#C7C329',
  74. blue: '#0A2FC4',
  75. magenta: '#C839C5',
  76. cyan: '#20C5C6',
  77. white: '#C7C7C7',
  78. lightBlack: '#686868',
  79. lightRed: '#FD6F6B',
  80. lightGreen: '#67F86F',
  81. lightYellow: '#FFFA72',
  82. lightBlue: '#6A76FB',
  83. lightMagenta: '#FD7CFC',
  84. lightCyan: '#68FDFE',
  85. lightWhite: '#FFFFFF',
  86. },
  87.  
  88. // the shell to run when spawning a new session (i.e. /usr/local/bin/fish)
  89. // if left empty, your system's login shell will be used by default
  90. //
  91. // Windows
  92. // - Make sure to use a full path if the binary name doesn't work
  93. // - Remove `--login` in shellArgs
  94. //
  95. // Bash on Windows
  96. // - Example: `C:\\Windows\\System32\\bash.exe`
  97. //
  98. // PowerShell on Windows
  99. // - Example: `C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe`
  100. shell: 'zsh',
  101.  
  102. // for setting shell arguments (i.e. for using interactive shellArgs: `['-i']`)
  103. // by default `['--login']` will be used
  104. shellArgs: ['--login'],
  105.  
  106. // for environment variables
  107. env: {},
  108.  
  109. // set to `false` for no bell
  110. bell: 'SOUND',
  111.  
  112. // if `true` (without backticks and without quotes), selected text will automatically be copied to the clipboard
  113. copyOnSelect: false,
  114.  
  115. // if `true` (without backticks and without quotes), hyper will be set as the default protocol client for SSH
  116. defaultSSHApp: true,
  117.  
  118. // if `true` (without backticks and without quotes), on right click selected text will be copied or pasted if no
  119. // selection is present (`true` by default on Windows and disables the context menu feature)
  120. // quickEdit: true,
  121.  
  122. // URL to custom bell
  123. // bellSoundURL: 'http://example.com/bell.mp3',
  124.  
  125. // for advanced config flags please refer to https://hyper.is/#cfg
  126.  
  127. confirmQuit: true,
  128. },
  129.  
  130. // a list of plugins to fetch and install from npm
  131. // format: [@org/]project[#version]
  132. // examples:
  133. // `hyperpower`
  134. // `@company/project`
  135. // `project#1.0.1`
  136. plugins: [
  137. "hyper-confirm",
  138. "hyper-hide-scroll",
  139. "hyperterm-cursor",
  140. "hyperpower",
  141. "hyper-search",
  142. "hyper-pane",
  143. "hypercwd",
  144. "hyper-tabs-enhanced",
  145. // "hyper-dracula",
  146. ],
  147.  
  148. // in development, you can create a directory under
  149. // `~/.hyper_plugins/local/` and include it here
  150. // to load it and avoid it being `npm install`ed
  151. localPlugins: [],
  152.  
  153. keymaps: {
  154. // Example
  155. // 'window:devtools': 'cmd+alt+o',
  156. },
  157.  
  158. hyperTabs: {
  159. trafficButtons: true,
  160. },
  161. };
RAW Paste Data