Skip to content

Instantly share code, notes, and snippets.

@sihan010
Created February 1, 2025 12:27
Show Gist options
  • Save sihan010/5dc1bede6303311fa738cb925b18e87e to your computer and use it in GitHub Desktop.
Save sihan010/5dc1bede6303311fa738cb925b18e87e to your computer and use it in GitHub Desktop.
Hyper Terminal WSL optimized
"use strict";
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
updateChannel: "stable",
fontFamily: "JetBrainsMono Nerd Font",
fontSize: 12,
fontWeight: "light",
fontWeightBold: "bold",
lineHeight: 1.2,
cursorShape: "BLOCK",
cursorBlink: true,
padding: "5px 5px",
shell: "C:\\Windows\\System32\\wsl.exe",
shellArgs: ["~", "-d", "Ubuntu"],
env: {},
bell: "SOUND",
copyOnSelect: true,
defaultSSHApp: true,
quickEdit: false,
webGLRenderer: false,
webLinksActivationKey: "ctrl",
disableLigatures: false,
disableAutoUpdates: true,
preserveCWD: true,
// plugin specific configs
opacity: 0.99,
hyperBorder: {
borderColors: ["#0e6655", "#873600"],
blurredColors: ["#212f3c", "#515a5a"],
adminBorderColors: ["#7b241c", "#633974"],
borderRadiusOuter: 0,
borderRadiusInner: 0,
borderWidth: "3px",
animate: false,
},
hyperWindowSize: {
width: 1080,
height: 720,
},
hyperTabs: {
border: true,
tabIcons: true,
tabIconsColored: true,
closeAlign: "left",
},
hyperline: {
plugins: ["cpu", "memory", "network", "battery", "ip", "hostname"],
},
},
plugins: ["hyper-aura-theme", "hyper-opacity", "hyperborder", // control+shift+F
"hyper-window-size", // "hypercwd", // not working for WSL
"hyper-search", "hyper-tabs-enhanced", "hyperline", "hyper-rename-tab"],
localPlugins: [],
keymaps: {
"window:devtools": "ctrl+shift+i",
"window:reload": "ctrl+shift+r",
"window:reloadFull": "ctrl+shift+f5",
"window:preferences": "ctrl+,",
"window:hamburgerMenu": "alt+f",
"zoom:reset": "ctrl+0",
"zoom:in": "ctrl+=",
"zoom:out": "ctrl+-",
"window:new": "ctrl+shift+n",
"window:minimize": "ctrl+shift+m",
"window:zoom": "ctrl+shift+alt+m",
"window:toggleFullScreen": "f11",
"window:close": ["ctrl+shift+q", "alt+f4"],
"tab:new": "ctrl+shift+t",
"tab:next": ["ctrl+tab"],
"tab:prev": ["ctrl+shift+tab"],
"tab:jump:prefix": "ctrl",
"pane:next": "ctrl+pageup",
"pane:prev": "ctrl+pagedown",
"pane:splitRight": "ctrl+shift+d",
"pane:splitDown": "ctrl+shift+e",
"pane:close": "ctrl+shift+w",
"editor:undo": "ctrl+z",
"editor:redo": "ctrl+y",
"editor:cut": "ctrl+x",
"editor:copy": "ctrl+c",
"editor:paste": "ctrl+v",
"editor:selectAll": "ctrl+a",
"editor:search": "ctrl+f",
"editor:search-close": "esc",
"editor:movePreviousWord": "",
"editor:moveNextWord": "",
"editor:moveBeginningLine": "Home",
"editor:moveEndLine": "End",
"editor:deletePreviousWord": "ctrl+backspace",
"editor:deleteNextWord": "ctrl+del",
"editor:deleteBeginningLine": "ctrl+home",
"editor:deleteEndLine": "ctrl+end",
"editor:clearBuffer": "ctrl+shift+k",
"editor:break": "ctrl+q",
"plugins:update": "ctrl+shift+u",
},
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment