注:笔者使用 Mac book pro 13inch 2020 版本;有关键盘的内容可能并不通用。
Overview
Greate Firewall
tools
- l*nter*
- **r
set proxy
- curl
Reference: curl 设置代理
- wget
- etc…
安装其它来源的软件
% sudo spctl --master-disable
Homebrew
镜像源(mirror)
清华源🔗:Homebrew/Linuxbrew 镜像使用帮助
快捷键
截图
command + shift + 3:全屏截图。
command + shift + 4:选定区域截图。
command + shift + 4 + space:选定程序窗口截图。
Delete, Home, End, Page
Delete: Fn + Backspace(Delete)
Home: Command + <-
End: Command + ->
多任务窗口
- 不同程序:Command + Tab
- 相同程序的不同窗口:Command + ~(就是数字键1左边或者Esc下边)
- 同时我还习惯使用Command + h来隐藏窗口而不是最小化窗口,他俩的效果其实差不多,但是最小化后再次调出窗口来要么用鼠标要么要三个键(Command + Option + Tab)分顺序协作完成调出窗口实在麻烦。
下面这个一定要打开 👇 :
打开之后在查找窗口效率会比较高!
官网快捷键(大全)
效率工具
输入法
默认输入法应该不支持「个人词库」的功能,和云词库。
所以还是搞一个「本土化」的输入法比较有效率 – 搜狗输入法。
这里只是说一下 mac book pro 自带的输入法不能满足效率需求;所以值得考虑安装第三方输入法;至于怎么安装,这个不至于我在本文中再详细讲。
粘贴板历史 – CopyQ
N/A
diff 比较工具 – Meld
N/A
about Mac OS
/etc/paths.d
与 PATH- na
开发工具
Xcode-beta.app
Visual Studio Code
vs code 在终端下使用 code ./
打开当前项目
Visual Studio Code的扩展工具菜单中有Install command line的快捷安装
运行 VS code并打开命令面板( ⇧⌘P ),然后输入 shell command 找到: Install ‘code’ command in PATH ,点击安装就行了。
code命令还支持其他参数,具体看 这里 🔗。
然后在终端中输入命令
% code .
or
% code /<path>/<to>/<the-project-you-want-to-open-by-vs-code>
即可在 vs code 中打开当前文件夹。
reference: vs code 在终端下使用 code ./ 打开当前项目
PyCharm
查找文件名 -> 打开
From the main menu, select Navigate | Search Everywhere or press Shift
twice to open the search window. By default, PyCharm displays the list of recent files. Pressing double Shift
again or Alt+N
for mnemonics will select the Include non-project items checkbox and the list of search results will extend to non-project related items.
图形桌面
程序坞(dock)
取消延迟:
在终端命令行执行:
defaults write com.apple.Dock autohide-delay -float 0 && killall Dock