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"
      }
    ]
  }
]
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • 【转载】曾梦想仗剑走天涯 1.Xcode IDE概览 说明:从左到右,依次是“导航窗格(Navigator)->边...
    06a6a973d7ab阅读 9,316评论 2 20
  • Spring Cloud为开发人员提供了快速构建分布式系统中一些常见模式的工具(例如配置管理,服务发现,断路器,智...
    卡卡罗2017阅读 135,347评论 19 139
  • Sublime Text:一款具有代码高亮、语法提示、自动完成且反应快速的编辑器软件,不仅具有华丽的界面,还支持插...
    xiaotao123阅读 13,134评论 0 27
  • Sublime Text:一款具有代码高亮、语法提示、自动完成且反应快速的编辑器软件,不仅具有华丽的界面,还支持插...
    追風逸少丶阅读 13,870评论 1 34
  • 1.Xcode IDE概览 说明:从左到右,依次是“导航窗格(Navigator)->边列(Gutter)->焦点...
    小地阅读 10,724评论 0 9