0%

Win10 使用体验和推荐软件与配置

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

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

软件

开发的话,先安装WSL2 + Ubuntu

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

配置

Windows Terminal配置

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
// 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 配置

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"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
}