> For the complete documentation index, see [llms.txt](https://xmlking.gitbook.io/macos-setup/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xmlking.gitbook.io/macos-setup/applications/sublime-text.md).

# Sublime-text

## Prerequisites

`Source Code Pro` Font should be installed as described in [Essentials](/macos-setup/getting-started/essentials.md#Fonts) section.

## Install

```shell
# if you haven't already installed sublime-text, run:
brew install --cask --appdir=~/Applications sublime-text
```

### Install Package Control

1. Open the `Tools` menu
2. Select `Install Package Control…` You will get message `Package Control was successfully installed`

Use the ***Command Palette*** and type `Install Package` to install any of the following packages.

To list installed packages: `Preferences -> Package Control -> List Packages`

### Recommended Plugins

Go to Sublime and do `CMD + Shift + P`

Type `install` and select `Package Control: Install Package`

Install the packages listed below:

1. Theme - Soda
2. SCSS
3. Markdown Preview
4. Monokai Extended
5. TypeScript

Go to `Preferences -> Select Theme...` and pick `Soda Light 3` or any other theme you like.

## Customization

Go to `Preferences -> Settings` and copy and paste following `JSON` in ***Right Panel***

> Note: you can use my user [preferences](https://github.com/xmlking/macbooksetup/blob/main/apps/sublimetext/preferences.json)

```json
{
  "bold_folder_labels": true,
  "color_scheme": "Packages/Monokai Extended/Monokai Extended.tmTheme",
  "font_face": "Consolas",
  "font_size": 14,
  "highlight_line": true,
  "highlight_modified_tabs": true,
  "ignored_packages": ["Vintage"],
  "indent_to_bracket": true,
  "rulers": [79],
  "tab_size": 2,
  "translate_tabs_to_spaces": true,
  "word_wrap": false
}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://xmlking.gitbook.io/macos-setup/applications/sublime-text.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
