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 终端打开多页
  • ...

...

参考: Mac 软件包管理器Homebrew使用指北

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

参考

posted @ 2020-12-11 16:56  taadis  阅读(137)  评论(0编辑  收藏  举报