最近入了台联想小新PRO 13 2020 锐龙R7 笔记本。性能非常好。 装的是Windows 10, 从MacOS 切换过来还真有点不习惯。 总体上开发效率比MacOS 会低些,使用体验也差些。可是MacBook Pro 又贵性能又差。 嗯,AMD Yes!

这里列出我用到的软件和配置,供参考

软件

开发的话,先安装WSL2 + Ubuntu

功能/用途MacOSWindows 10
终端iTerm2Windows Terminal
编辑器VsCodeVsCode, 在wsl里运行code . 可直接打开当前目录,非常好用
快速启动alfredWox 体验比alfred差远了,凑活用
剪贴板增强Clipy系统自带的:win+v; ditto; 快贴(云剪贴板,可以跟手机同步)
选中菜单PopClipPantherBar 丑了点,凑活用; Quicker 国产软件,花哨
Markdown编辑器TyporaTypora
浏览器Edge ChromiumEdge Chromium
简单改键系统设置-键盘PowerToys-Keyboard Manager
Git GUI CientSourceTreeSourceTree

配置

Windows Terminal配置

// This file was initially generated by Windows Terminal 1.0.1401.0
// It should still be usable in newer versions, but newer versions might have additional
// settings, help text, or changes that you will not see unless you clear this file
// and let us generate a new one for you.

// 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}",

    // You can add more global application settings here.
    // To learn more about global settings, visit https://aka.ms/terminal-global-settings

    // If enabled, selections are automatically copied to your clipboard.
    "copyOnSelect": false,

    // If enabled, formatted data is also copied to your clipboard
    "copyFormatting": false,

    // A profile specifies a command to execute paired with information about how it should look and feel.
    // Each one of them will appear in the 'New Tab' dropdown,
    //   and can be invoked from the commandline with `wt.exe -p xxx`
    // To learn more about profiles, visit https://aka.ms/terminal-profile-settings
    "profiles":
    {
        "defaults":
        {
            // Put settings here that you want to apply to all profiles.
        },
        "list":
        [
            {
                "guid": "{c6eaf9f4-32a7-5fdc-b5cf-066e8a4b1e40}",
                "hidden": false,
                "name": "Ubuntu-18.04",
                "source": "Windows.Terminal.Wsl",
                "colorScheme": "Solarized Dark",
                "commandline" : "wsl.exe ~",
                "fontFace":  "Monaco for Powerline"
            },
            {
                // Make changes here to the powershell.exe profile.
                "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
                "name": "Windows PowerShell",
                "commandline": "powershell.exe",
                "hidden": false,
                "fontFace": "Cascadia Code PL"
            },
            {
                // Make changes here to the cmd.exe profile.
                "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
                "name": "命令提示符",
                "commandline": "cmd.exe",
                "hidden": false
            },
            {
                "guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
                "hidden": false,
                "name": "Azure Cloud Shell",
                "source": "Windows.Terminal.Azure"
            }
        ]
    },

    // Add custom color schemes to this array.
    // To learn more about color schemes, visit https://aka.ms/terminal-color-schemes
    "schemes": [],

    // Add custom keybindings to this array.
    // To unbind a key combination from your defaults.json, set the command to "unbound".
    // To learn more about keybindings, visit https://aka.ms/terminal-keybindings
    "keybindings":
    [
        // Copy and paste are bound to Ctrl+Shift+C and Ctrl+Shift+V in your defaults.json.
        // These two lines additionally bind them to Ctrl+C and Ctrl+V.
        // To learn more about selection, visit https://aka.ms/terminal-selection
        { "command": {"action": "copy", "singleLine": false }, "keys": "ctrl+c" },
        { "command": "paste", "keys": "ctrl+shift+v" },

        // Press Ctrl+Shift+F to open the search box
        { "command": "find", "keys": "ctrl+shift+f" },

        // Press Alt+Shift+D to open a new pane.
        // - "split": "auto" makes this pane open in the direction that provides the most surface area.
        // - "splitMode": "duplicate" makes the new pane use the focused pane's profile.
        // To learn more about panes, visit https://aka.ms/terminal-panes
        { "command": { "action": "splitPane", "split": "auto", "splitMode": "duplicate" }, "keys": "alt+shift+d" }
    ]
}

键位改成跟MacOS 一样,Win当Command用

https://github.com/m2nlight/AHKShortcutLikeMac

VSCode 配置

{
    "editor.fontLigatures": false,
    "editor.fontFamily": "Monaco for Powerline",
    "workbench.colorTheme": "One Dark Pro",
    "tabnine.experimentalAutoImports": true,
    "go.formatTool": "goimports",
    "terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\wsl.exe",
    "go.useLanguageServer": true,
    "editor.accessibilitySupport": "off",
    "git.autofetch": true,
    "vim.useSystemClipboard": true,
    "window.openFoldersInNewWindow": "on",
    "explorer.confirmDelete": false,
    "go.testFlags": [
        "-v"
    ],
    "git.enableSmartCommit": true,
    "editor.fontSize": 16,
    "window.zoomLevel": 0.2,
    "gitlens.currentLine.enabled": false,
    "explorer.confirmDragAndDrop": false
}

update: 一个月后我把这台笔记本卖了,换了台NUC 8 装黑苹果,除了风扇声音大其他都很香。