mindblastr
4/5/2020 - 6:39 PM

My Windows Terminal Settings with WSL2

My Windows Terminal Settings with WSL2


// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation

{
    "$schema": "https://aka.ms/terminal-profiles-schema",

    "defaultProfile": "{c6eaf9f4-32a7-5fdc-b5cf-066e8a4b1e40}",
    "tabWidthMode": "equal",
    "fontFace":"Fira Code",
    "launchMode": "maximized",
    "profiles":
    {
        "defaults":
        {
            // Put settings here that you want to apply to all profiles
            "snapOnInput":true
        },
        "list":
        [
            {
                "guid": "{c6eaf9f4-32a7-5fdc-b5cf-066e8a4b1e40}",
                "hidden": false,
                "name": "Ubuntu-18.04",
                "tabTitle": "Ubuntu-18.04 - WSL2",
                "startingDirectory":"//wsl$/Ubuntu-18.04/home/rrpe",
                "colorScheme": "Solarized Dark",
                "fontFace":"Fira Code",
                "source": "Windows.Terminal.Wsl"
            },
            {
                // Make changes here to the powershell.exe profile
                "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
                "name": "Windows PowerShell",
                "commandline": "powershell.exe",
                "colorScheme": "Campbell",
                "hidden": false
            },
            {
                // Make changes here to the cmd.exe profile
                "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
                "name": "cmd",
                "commandline": "cmd.exe",
                "hidden": false
            },
            {
                "guid": "{6f9994f0-4403-5e85-9cce-98e5da3839bb}",
                "hidden": false,
                "name": "Ubuntu-16.04",
                "startingDirectory":"//wsl$/Ubuntu-18.04/home/rrpe",
                "fontFace":"Fira Code",
                "source": "Windows.Terminal.Wsl"
            },
            {
                "guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
                "hidden": false,
                "name": "Azure Cloud Shell",
                "source": "Windows.Terminal.Azure"
            }
        ]
    },

    // Add custom color schemes to this array
    "schemes": [ ],

    // Add any keybinding overrides to this array.
    // To unbind a default keybinding, set the command to "unbound"
    "keybindings": 
    [
            { "command": "splitHorizontal", "keys": ["ctrl+shift+e"] },
            { "command": "splitVertical", "keys": ["ctrl+shift+d"] },
            { "command": "toggleFullscreen", "keys":["ctrl+enter"] },
            { "command": "closePane", "keys":["ctrl+shift+w"] },
            { "command": {"action": "splitPane", "split": "vertical", "profile": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}"}, "keys": ["ctrl+shift+a"] }
            
    ]
}