MacOS
Spotlight 聚焦搜索失灵
输入以下命令,重置索引,然后重启系统即可.
sudo mdutil -a -i on
一些命令
fn + F11
显示桌面command + F3
显示桌面command + q
退出当前应用程序fn + delete
向右删除control + p
光标向上移动一行control + n
光标向下移动一行control + f
光标向右移动一格control + b
光标向左移动一格command + k
命令行工具清屏快捷键control + command + Q
系统锁屏command + shift + G
前往文件夹,需要输入地址control + command + F
全屏/返回,然后配合触控板三指滑动效果更佳
终端
command + T
终端打开多页- ...
...
zsh
brew install zsh-autosuggestions
安装成功后按提示激活即可
To activate the autosuggestions, add the following at the end of your .zshrc:
source /usr/local/share/zsh-autosuggestions/zsh-autosuggestions.zsh
You will also need to force reload of your .zshrc:
source ~/.zshrc
mac 下配置终端启动 vscode
打开 vscode,操作快捷键 commend + shift + p 打开命令面板
输入 shell,选择 install code command in PATH/ uninstall code command in PATH