MacOS系统使用心得汇总
1、快捷键相关
- 备注:command =windows | option=alt
- 切换输入法:大小写切换键
- 撤销、剪切、复制、粘贴==command+ | z | x | c | v |
- 窗口隐藏:command+h
- 窗口缩小至程序坞:command+m
- 全局搜索:command+space
- 全屏使用应用:ctrl+command+f
- 切换应用:command+tab
- 创建新文件夹:shift+command+n
- 偏好设置:command+,
- 文件属性:command+i
- 我的电脑:shift+command+c
- 个人文件夹:shift+command+h
- 下载文件夹:shift+command+L
- 隐藏程序坞:option+command+d
- 递归文件路径:option+command+p
- 左侧栏:option+command+s
- 底部栏:command+/
- 文件显示样式:command+ | 1 | 2 | 3 | 4 |
- 粘贴移动:option+command+v
- 后退 | 前进 :command +[ | ]
- 删除:command+del
- 清倒废纸篓:shift+command+del
2、git全局代理
vim ~/.gitconfig
文件追加
[http]
proxy = http://ip:port
[https]
proxy = https://ip:port
3、mysqlclient安装
先安装brew
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
再安装
brew install mysql-connector-c
最后安装
pip3 install mysqlclient