差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン最新のリビジョン両方とも次のリビジョン | ||
linux:hyper [2021/11/22 01:09] – ともやん | linux:hyper [2023/10/06 11:27] – [設定の編集] ともやん | ||
---|---|---|---|
行 1: | 行 1: | ||
====== Hyper - Web テクノロジーに基づいて構築されたターミナル (Linux) ====== | ====== Hyper - Web テクノロジーに基づいて構築されたターミナル (Linux) ====== | ||
- | {{: | + | {{: |
本家: [[https:// | 本家: [[https:// | ||
行 8: | 行 8: | ||
===== インストール ===== | ===== インストール ===== | ||
- | < | + | <WRAP color_term> |
- | <WRAP color_command> | + | <WRAP color_command>< |
- | <code> | + | <span style=" |
- | $ sudo rpm -ivh https:// | + | </pre></ |
- | </code> | + | <WRAP color_result>< |
- | </ | + | |
- | <WRAP color_result> | + | |
- | <code> | + | |
- | [sudo] tomoyan のパスワード: | + | |
https:// | https:// | ||
検証しています... | 検証しています... | ||
準備しています... | 準備しています... | ||
更新中 / インストール中... | 更新中 / インストール中... | ||
- | | + | |
+ | </ | ||
+ | </ | ||
+ | |||
+ | ===== 設定の編集 ===== | ||
+ | <WRAP prewrap 100% color_term> | ||
+ | <WRAP color_command>< | ||
+ | $ nano ~/ | ||
+ | </ | ||
+ | </ | ||
+ | <WRAP prewrap 100% mincode_long> | ||
+ | <code javascript> | ||
+ | "use strict"; | ||
+ | // Future versions of Hyper may add additional config options, | ||
+ | // which will not automatically be merged into this file. | ||
+ | // See https:// | ||
+ | module.exports = { | ||
+ | config: { | ||
+ | // choose either `' | ||
+ | // or `' | ||
+ | updateChannel: | ||
+ | // default font size in pixels for all tabs | ||
+ | fontSize: 12, | ||
+ | // font family with optional fallbacks | ||
+ | fontFamily: ' | ||
+ | // default font weight: ' | ||
+ | fontWeight: ' | ||
+ | // font weight for bold characters: ' | ||
+ | fontWeightBold: | ||
+ | // line height as a relative unit | ||
+ | lineHeight: 1, | ||
+ | // letter spacing as a relative unit | ||
+ | letterSpacing: | ||
+ | // terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk) | ||
+ | cursorColor: | ||
+ | // terminal text color under BLOCK cursor | ||
+ | cursorAccentColor: | ||
+ | // `' | ||
+ | cursorShape: | ||
+ | // set to `true` (without backticks and without quotes) for blinking cursor | ||
+ | cursorBlink: | ||
+ | // color of the text | ||
+ | foregroundColor: | ||
+ | // terminal background color | ||
+ | // opacity is only supported on macOS | ||
+ | backgroundColor: | ||
+ | // terminal selection color | ||
+ | selectionColor: | ||
+ | // border color (window, tabs) | ||
+ | borderColor: | ||
+ | // custom CSS to embed in the main window | ||
+ | css: '', | ||
+ | // custom CSS to embed in the terminal window | ||
+ | termCSS: '', | ||
+ | // set custom startup directory (must be an absolute path) | ||
+ | workingDirectory: | ||
+ | // 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, | ||
+ | // 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: '# | ||
+ | red: '# | ||
+ | green: '# | ||
+ | yellow: '# | ||
+ | blue: '# | ||
+ | magenta: '# | ||
+ | cyan: '# | ||
+ | white: '# | ||
+ | lightBlack: '# | ||
+ | lightRed: '# | ||
+ | lightGreen: '# | ||
+ | lightYellow: | ||
+ | lightBlue: '# | ||
+ | lightMagenta: | ||
+ | lightCyan: '# | ||
+ | lightWhite: '# | ||
+ | limeGreen: '# | ||
+ | lightCoral: '# | ||
+ | }, | ||
+ | // the shell to run when spawning a new session (i.e. / | ||
+ | // if left empty, your system' | ||
+ | // | ||
+ | // Windows | ||
+ | // - Make sure to use a full path if the binary name doesn' | ||
+ | // - Remove `--login` in shellArgs | ||
+ | // | ||
+ | // Windows Subsystem for Linux (WSL) - previously Bash on Windows | ||
+ | // - Example: `C: | ||
+ | // | ||
+ | // Git-bash on Windows | ||
+ | // - Example: `C: | ||
+ | // | ||
+ | // PowerShell on Windows | ||
+ | // - Example: `C: | ||
+ | // | ||
+ | // Cygwin | ||
+ | // - Example: `C: | ||
+ | shell: '', | ||
+ | // for setting shell arguments (i.e. for using interactive shellArgs: `[' | ||
+ | // by default `[' | ||
+ | shellArgs: [' | ||
+ | // for environment variables | ||
+ | env: {}, | ||
+ | // Supported Options: | ||
+ | // 1. ' | ||
+ | // 2. false: turns off the bell | ||
+ | bell: ' | ||
+ | // An absolute file path to a sound file on the machine. | ||
+ | // bellSoundURL: | ||
+ | // if `true` (without backticks and without quotes), selected text will automatically be copied to the clipboard | ||
+ | copyOnSelect: | ||
+ | // if `true` (without backticks and without quotes), hyper will be set as the default protocol client for SSH | ||
+ | defaultSSHApp: | ||
+ | // 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: false, | ||
+ | // choose either `' | ||
+ | // or `' | ||
+ | // (inside tmux or vim with mouse mode enabled for example). | ||
+ | macOptionSelectionMode: | ||
+ | // Whether to use the WebGL renderer. Set it to false to use canvas-based | ||
+ | // rendering (slower, but supports transparent backgrounds) | ||
+ | webGLRenderer: | ||
+ | // keypress required for weblink activation: [ctrl|alt|meta|shift] | ||
+ | // todo: does not pick up config changes automatically, | ||
+ | webLinksActivationKey: | ||
+ | // if `false` (without backticks and without quotes), Hyper will use ligatures provided by some fonts | ||
+ | disableLigatures: | ||
+ | // set to true to disable auto updates | ||
+ | disableAutoUpdates: | ||
+ | // set to true to enable screen reading apps (like NVDA) to read the contents of the terminal | ||
+ | screenReaderMode: | ||
+ | // set to true to preserve working directory when creating splits or tabs | ||
+ | preserveCWD: | ||
+ | // for advanced config flags please refer to https:// | ||
+ | }, | ||
+ | // a list of plugins to fetch and install from npm | ||
+ | // format: [@org/ | ||
+ | // examples: | ||
+ | // | ||
+ | // | ||
+ | // | ||
+ | plugins: [], | ||
+ | // in development, | ||
+ | // `~/ | ||
+ | // to load it and avoid it being `npm install`ed | ||
+ | localPlugins: | ||
+ | keymaps: { | ||
+ | // Example | ||
+ | // ' | ||
+ | }, | ||
+ | }; | ||
+ | //# sourceMappingURL=config-default.js.map | ||
</ | </ | ||
</ | </ | ||
- | </ | ||
- | |||