Mac 技巧备忘

卸载qq输入法

  1. 打开活动监视器,把qq输入法进程关闭。
  2. finder界面按下shift+command+G, 输入:/library/input methods(系统的资料库), 进入文件夹,找到qq输入法,删掉。
  3. finder界面按下shift+command+G, 输入:~/library/input methods (个人文件夹的资料库), 进入文件夹,找到qq输入法,删掉。

sublime package control配置文件

{
    "bootstrapped": true,
    "channels":
    [
        "https://web.archive.org/web/https://packagecontrol.io/channel_v3.json"
    ],
    "in_process_packages":
    [
    ],
    "installed_packages":
    [
        "Alignment",
        "ApplySyntax",
        "AutoFileName",
        "Babel",
        "BracketHighlighter",
        "DocBlockr",
        "Emmet",
        "ExpandRegion",
        "FileDiffs",
        "HTML-CSS-JS Prettify",
        "JsFormat",
        "JSON Reindent",
        "JSX",
        "MarkdownEditing",
        "OmniMarkupPreviewer",
        "Package Control",
        "phpfmt",
        "ReactJS",
        "SFTP",
        "SublimeCodeIntel",
        "SublimeLinter",
        "SublimeLinter-jsxhint"
    ]
}

sublime 配置文件

{
    "bold_folder_labels": true,
    "color_scheme": "Packages/User/SublimeLinter/Monokai (SL).tmTheme",
    "debug": true,
    "folder_exclude_patterns":
    [
        ".svn",
        ".git",
        ".hg",
        "CVS",
        "node_modules",
        "bower_components",
        ".module-cache"
    ],
    "font_face": "Monaco",
    "font_size": 11,
    "highlight_line": true,
    "highlight_modified_tabs": true,
    "ignored_packages":
    [
        "Markdown",
        "Vintage"
    ],
    "indent_to_bracket": true,
    "rulers":
    [
        79
    ],
    "scroll_past_end": true,
    "tab_size": 4,
    "translate_tabs_to_spaces": true,
    "update_check": false,
    "word_wrap": false
}

sublime 按键配置

[
  {
    "keys": [
      "super+e"
    ],
    "args": {
      "action": "expand_abbreviation"
    },
    "command": "run_emmet_action",
    "context": [
      {
        "key": "emmet_action_enabled.expand_abbreviation"
      }
    ]
  },
  {
    "keys": [
      "tab"
    ],
    "command": "expand_abbreviation_by_tab",
    "context": [
      {
        "operand": "source.js",
        "operator": "equal",
        "match_all": true,
        "key": "selector"
      },
      {
        "key": "preceding_text",
        "operator": "regex_contains",
        "operand": "(\\b(a\\b|div|span|p\\b|button)(\\.\\w*|>\\w*)?([^}]*?}$)?)",
        "match_all": true
      },
      {
        "key": "selection_empty",
        "operator": "equal",
        "operand": true,
        "match_all": true
      }
    ]
  },
  {
    "keys": [
      "super+shift+space"
    ],
    "command": "expand_region"
  },
  {
    "keys": [
      "super+u"
    ],
    "command": "expand_region",
    "args": {
      "undo": true
    },
    "context": [
      {
        "key": "expand_region_soft_undo"
      }
    ]
  }
]

你可能感兴趣的:(Mac 技巧备忘)