{
  "schemaVersion": "0.11.0",
  "canonical": "https://www.pystone.net/notes/macos-usage-tips/",
  "atlas": "https://www.pystone.net/?node=macos-usage-tips#knowledge-atlas",
  "markdown": "https://www.pystone.net/notes/macos-usage-tips.md",
  "context": "https://www.pystone.net/notes/macos-usage-tips.context.json",
  "knowledgeVersion": "224c990773de.5fa8af6e39fa",
  "build": {
    "siteCommit": "224c990773de166d23a886306577dd90379529ce",
    "notesCommit": "5fa8af6e39fa3891d1b9b4832bfa6c4e0ecaaf0a",
    "builtAt": "1970-01-01T00:00:00.000Z",
    "version": "224c990773de.5fa8af6e39fa"
  },
  "id": "note:macos-usage-tips",
  "slug": "macos-usage-tips",
  "title": "MacOS使用技巧",
  "type": "note",
  "visibility": "public",
  "idStability": "rename-stable",
  "author": {
    "name": "Perrin Yong",
    "profile": "https://www.pystone.net/profile/"
  },
  "publisher": {
    "name": "Perrin Yong",
    "profile": "https://www.pystone.net/profile/"
  },
  "aliases": [],
  "summary": "MacOS使用技巧",
  "contentRole": "unspecified",
  "isMoc": false,
  "mocRecognition": "none",
  "generated": false,
  "attribution": "unspecified",
  "domain": "10-计算机、信息技术与工程",
  "tags": [],
  "mocs": [],
  "contentHash": "a8177f4c6ee3437a6a521b05cedceeee529d82c7bd0643010126137107aa5f32",
  "assets": [],
  "headings": [
    {
      "depth": 1,
      "text": "MacOS使用技巧",
      "anchor": "macos使用技巧",
      "citation": "https://www.pystone.net/notes/macos-usage-tips/#macos%E4%BD%BF%E7%94%A8%E6%8A%80%E5%B7%A7"
    },
    {
      "depth": 2,
      "text": "手势操作",
      "anchor": "手势操作",
      "citation": "https://www.pystone.net/notes/macos-usage-tips/#%E6%89%8B%E5%8A%BF%E6%93%8D%E4%BD%9C"
    },
    {
      "depth": 2,
      "text": "快捷键",
      "anchor": "快捷键",
      "citation": "https://www.pystone.net/notes/macos-usage-tips/#%E5%BF%AB%E6%8D%B7%E9%94%AE"
    },
    {
      "depth": 3,
      "text": "System",
      "anchor": "system",
      "citation": "https://www.pystone.net/notes/macos-usage-tips/#system"
    },
    {
      "depth": 3,
      "text": "通用 General",
      "anchor": "通用-general",
      "citation": "https://www.pystone.net/notes/macos-usage-tips/#%E9%80%9A%E7%94%A8-general"
    },
    {
      "depth": 3,
      "text": "截屏",
      "anchor": "截屏",
      "citation": "https://www.pystone.net/notes/macos-usage-tips/#%E6%88%AA%E5%B1%8F"
    },
    {
      "depth": 3,
      "text": "Finder",
      "anchor": "finder",
      "citation": "https://www.pystone.net/notes/macos-usage-tips/#finder"
    },
    {
      "depth": 3,
      "text": "浏览器Safari",
      "anchor": "浏览器safari",
      "citation": "https://www.pystone.net/notes/macos-usage-tips/#%E6%B5%8F%E8%A7%88%E5%99%A8safari"
    },
    {
      "depth": 2,
      "text": "brew",
      "anchor": "brew",
      "citation": "https://www.pystone.net/notes/macos-usage-tips/#brew"
    },
    {
      "depth": 3,
      "text": "关于ruby",
      "anchor": "关于ruby",
      "citation": "https://www.pystone.net/notes/macos-usage-tips/#%E5%85%B3%E4%BA%8Eruby"
    },
    {
      "depth": 3,
      "text": "brew安装",
      "anchor": "brew安装",
      "citation": "https://www.pystone.net/notes/macos-usage-tips/#brew%E5%AE%89%E8%A3%85"
    },
    {
      "depth": 3,
      "text": "brew使用",
      "anchor": "brew使用",
      "citation": "https://www.pystone.net/notes/macos-usage-tips/#brew%E4%BD%BF%E7%94%A8"
    },
    {
      "depth": 2,
      "text": "Mono On MacOS",
      "anchor": "mono-on-macos",
      "citation": "https://www.pystone.net/notes/macos-usage-tips/#mono-on-macos"
    },
    {
      "depth": 3,
      "text": "安装",
      "anchor": "安装",
      "citation": "https://www.pystone.net/notes/macos-usage-tips/#%E5%AE%89%E8%A3%85"
    },
    {
      "depth": 3,
      "text": "使用",
      "anchor": "使用",
      "citation": "https://www.pystone.net/notes/macos-usage-tips/#%E4%BD%BF%E7%94%A8"
    },
    {
      "depth": 2,
      "text": "Ref",
      "anchor": "ref",
      "citation": "https://www.pystone.net/notes/macos-usage-tips/#ref"
    }
  ],
  "claims": [],
  "outgoing": [],
  "incoming": [
    {
      "id": "note:software-engineering-and-quality",
      "title": "软件工程与质量保障",
      "url": "https://www.pystone.net/notes/software-engineering-and-quality/",
      "atlas": "https://www.pystone.net/?node=software-engineering-and-quality#knowledge-atlas",
      "label": "软件工程与质量保障",
      "origin": "explicit",
      "humanReviewed": true,
      "context": "CI-CD与质量保障/CI-CD工具链中的“MacOS使用技巧”导航项",
      "citation": "https://www.pystone.net/notes/software-engineering-and-quality/#ci-cd%E4%B8%8E%E8%B4%A8%E9%87%8F%E4%BF%9D%E9%9A%9Cci-cd%E5%B7%A5%E5%85%B7%E9%93%BE"
    }
  ],
  "contentMarkdown": "# MacOS使用技巧\n\n> 创建时间：2020/10/19 14:58\n\n  * MacOS使用技巧\n    * 手势操作\n    * 快捷键\n      * System\n      * 通用 General\n      * 截屏\n      * Finder\n      * 浏览器Safari\n    * brew\n      * 关于ruby\n      * brew安装\n      * brew使用\n    * Mono On MacOS\n      * 安装\n      * 使用\n    * Ref\n\n## 手势操作\n\n多桌面——四指向上拖 | Control + 方向键\n\n## 快捷键\n\n输入法 ctrl + space\n\n### System\n\ncmd + option + esc 强制退出程序\ncmd + space 切换输入法\n\n### 通用 General\n\ncmd + H Hide the window\ncmd + M Minimize the window\ncmd + O Open files\ncmd + s Save\ncms + shift + s Save as\ncmd + W Close\ncmd + Q Quit\n\nReturn 重命名\n\n### 截屏\n\ncmd + shift + 3 截取整个屏幕\ncmd + shift + 4 截取选择区域\ncmd + shift + 4 + space 截取选择窗口\n\n### Finder\n\ncmd + sft + . 显示隐藏文件\noption + cmd + i 查看多个文件或文件夹大小\n右键目标文件 + option 复制目标文件的路径\ncmd + [ / ] 前进或后退\ncmd + up / down 进入上级目录 / 下级目录\noption + up / down 定位到多文件列表顶部/底部\nshift + cmd + g 路径进入文件夹\ncmd + f 查询\ncmd + N 新建文件夹\ncmd + Delete 删除\ncmd + shift + delete 清空回收站\n\ncmd + c 复制\ncmd + v 粘贴\ncmd + option + v 粘贴后删除源文件（等效于Windows的ctrl + x, ctrl + v）\n\n### 浏览器Safari\n\ncmd + +/- 放大/缩小\ncmd + T 新建选项卡\ncmd + N 新建窗口\ncmd + R 刷新\nxmd + F 搜索\ncmd + W关闭选项卡\n\n## brew\n\nbrew 是 Mac 下的一个包管理工具，作用类似于 centos 下的 yum。brew 可以用一条命令，就可以在mac上安装、卸载、更新各种软件包。\n\n### 关于ruby\n\n  * Ruby是一种纯粹的面向对象编程语言。\n\n  * Ruby是一种通用的、解释的编程语言。\n\n  * Ruby是一种真正的面向对象编程语言。\n\nRuby教程: <https://www.runoob.com/ruby/ruby-installation-unix.html>\n\nbrew是ruby开发的。需要确认ruby是否已安装，默认是已经安装的。\n\n```cpp\nstring str1 = &quot;test&quot;;\nstring str2 = &quot;test&quot;;\n\n```\n\n### brew安装\n\n国外：\n\n```cpp\nstring str1 = &quot;test&quot;;\nstring str2 = &quot;test&quot;;\n\n```\n\n解决brew更新慢的问题：\n使用中科大的镜像\n第一步，替换brew.git\n\n```cpp\nstring str1 = &quot;test&quot;;\nstring str2 = &quot;test&quot;;\n\n```\n\n第二步：替换homebrew-core.git\n\n```cpp\nstring str1 = &quot;test&quot;;\nstring str2 = &quot;test&quot;;\n\n```\n```cpp\nstring str1 = &quot;test&quot;;\nstring str2 = &quot;test&quot;;\n\n```\n\n### brew使用\n\n> homebrew的命令是以brew开头\n>  homebrew 的默认安装目录为 /usr/local\n>  通过 brew 安装的程序都会默认安装到 /usr/local/Cellars/程序名/版本号/ 目录下\n\n```cpp\nstring str1 = &quot;test&quot;;\nstring str2 = &quot;test&quot;;\n\n```\n\n如果需要安装指定版本的软件，执行 `brew search` 查看有没有需要的版本 在 @ 后面指定版本号，例如 brew install thrift@0.9\n\n其他示例\n\n```cpp\nstring str1 = &quot;test&quot;;\nstring str2 = &quot;test&quot;;\n\n```\n\n升级brew用`brew update --verbose`可以显示详细信息。\n\n## Mono On MacOS\n\nYou can use Mono either as a runtime to run existing application, or as an SDK to develop new applications with Mono.\n\n### 安装\n\n下载：<https://www.mono-project.com/download/stable/#download-mac>\nRun the .pkg file and accept the terms of the license.\n\n  * This package installs as a framework into `/Library/Frameworks/Mono.framework` (the same way the Java packages are installed).\n\n  * The executable binaries can be found in `/Library/Frameworks/Mono.framework/Versions/Current/bin`\n\n  * If you’d like to access the mono manpages you’ll have to add /Library/Frameworks/Mono.framework/Versions/Current/man to your manpath.\n\n### 使用\n\nTo build applications you can use `mcs`.\nTo run then you can use `mono`.\n\n## Ref\n\n<https://www.jianshu.com/p/c42f2cda860e>\n"
}
