Sublime Text 3

安装Sublime Text 3

  • 使用brew cask方式安装(推荐)
brew cask install sublime-text
luodeMac:~ luo$ brew cask install sublime-text
==> Tapping caskroom/versions
Cloning into '/usr/local/Homebrew/Library/Taps/caskroom/homebrew-versions'...
remote: Counting objects: 185, done.
remote: Compressing objects: 100% (182/182), done.
remote: Total 185 (delta 13), reused 35 (delta 1), pack-reused 0
Receiving objects: 100% (185/185), 73.62 KiB | 0 bytes/s, done.
Resolving deltas: 100% (13/13), done.
Tapped 0 formulae (203 files, 272.5KB)
==> Satisfying dependencies
==> Downloading https://download.sublimetext.com/Sublime%20Text%20Build%203126.dmg
######################################################################## 100.0%
==> Verifying checksum for Cask sublime-text
==> Installing Cask sublime-text
==> Moving App 'Sublime Text.app' to '/Applications/Sublime Text.app'.
==> Linking Binary 'subl' to '/usr/local/bin/subl'.
🍺  sublime-text was successfully installed!
  • 使用官网文件安装
https://www.sublimetext.com/3

命令行运行

alias subl="/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl"

Install Package Control

Tools -> Install Package Control..安装成功后,提示使用Command + shift + p快捷键安装新的包。

安装主题 - Materialize

使用快捷键 command + shift + p后输入 package install命令后并等待运行完毕,然后输入 Materialize安装主题。

修改Sublime Text基本配置

{
    "bold_folder_labels": true,
    "color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",
    "font_face": "Fira Code",
    "font_options":
    [
        "gray_antialias"
    ],
    "font_size": 21,
    "highlight_line": true,
    "highlight_modified_tabs": true,
    "line_padding_bottom": 10,
    "line_padding_top": 10,
    "material_theme_big_fileicons": true,
    "show_encoding": true,
    "tab_size": 4,
    "theme": "Material-Theme-Palenight.sublime-theme",
    "translate_tabs_to_spaces": true,
    "use_simple_full_screen": true,
    "vintage_start_in_command_mode": true
}

results matching ""

    No results matching ""