Skip to content

Instantly share code, notes, and snippets.

@hotchpotch
Created August 2, 2020 03:37
Show Gist options
  • Save hotchpotch/61e37d639aefe677a24b987d398ec4dd to your computer and use it in GitHub Desktop.
Save hotchpotch/61e37d639aefe677a24b987d398ec4dd to your computer and use it in GitHub Desktop.
windows terminal settings.json
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
"copyOnSelect": true,
"copyFormatting": false,
"profiles": {
"defaults": {
"closeOnExit": "always",
"colorScheme": "One Half Dark",
"padding": "2,2,2,2",
"fontFace": "Source Code Pro for Powerline",
"useAcrylic": true,
"acrylicOpacity": 0.9,
"fontSize": 11
},
"list": [
{
"guid": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
"hidden": false,
"name": "pwsh",
// https://github.com/PowerShell/PowerShell/issues/11314
// プロセスの起動時間が長いと Ctrl-C で端末が終了することがあるので
// source をコメントアウトして、commandline をフルパスで記述
// "source": "Windows.Terminal.PowershellCore"
"commandline": "%USERPROFILE%\\scoop\\apps\\pwsh\\current\\pwsh.exe",
"startingDirectory": "%USERPROFILE%"
},
{
"guid": "{07b52e3e-de2c-5db4-bd2d-ba144ed6c273}",
"hidden": false,
"name": "Ubuntu-20.04",
"source": "Windows.Terminal.Wsl"
},
{
// PowerShell v5
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"name": "Windows PowerShell",
"commandline": "powershell.exe",
"hidden": false
},
{
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
"name": "cmd.exe",
"commandline": "cmd.exe",
"hidden": false
},
{
"guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
"hidden": true,
"name": "Azure Cloud Shell",
"source": "Windows.Terminal.Azure"
}
]
},
"schemes": [],
"keybindings": [
{
"command": "nextTab",
"keys": "alt+n"
},
{
"command": "prevTab",
"keys": "alt+p"
},
{
"command": "find",
"keys": "alt+f"
},
{
"command": "closeTab",
"keys": "alt+w"
},
{
"command": "newTab",
"keys": "alt+t"
},
{
"command": {
"action": "switchToTab",
"index": 0
},
"keys": "alt+1"
},
{
"command": {
"action": "switchToTab",
"index": 1
},
"keys": "alt+2"
},
{
"command": {
"action": "switchToTab",
"index": 2
},
"keys": "alt+3"
},
{
"command": {
"action": "switchToTab",
"index": 3
},
"keys": "alt+4"
},
{
"command": {
"action": "switchToTab",
"index": 4
},
"keys": "alt+5"
},
{
"command": {
"action": "switchToTab",
"index": 5
},
"keys": "alt+6"
},
{
"command": {
"action": "switchToTab",
"index": 6
},
"keys": "alt+7"
},
{
"command": {
"action": "switchToTab",
"index": 7
},
"keys": "alt+8"
},
{
"command": {
"action": "switchToTab",
"index": 8
},
"keys": "alt+9"
},
{
"command": "paste",
"keys": "alt+v"
},
{
"command": {
"action": "copy",
"singleLine": false
},
"keys": "alt+c"
},
{
"command": "find",
"keys": "alt+f"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment