# Installation `eml-tmLanguage` (`email.tmBundle`) targets **[Sublime Text 3](https://www.sublimetext.com/3)** and **[TextMate 2](https://macromates.com/)**. --- ## Sublime Text 3 (Primary) Clone this repository directly into your Sublime Text 3 `Packages` directory: ### macOS ```bash git clone https://github.com/mariozaizar/eml-tmLanguage.git "$HOME/Library/Application Support/Sublime Text 3/Packages/Email" ``` ### Linux ```bash git clone https://github.com/mariozaizar/eml-tmLanguage.git "$HOME/.config/sublime-text-3/Packages/Email" ``` ### Windows (Command Prompt) ```cmd git clone https://github.com/mariozaizar/eml-tmLanguage.git "%APPDATA%\Sublime Text 3\Packages\Email" ``` Once installed, open any `.eml`, `.msg`, `.mbx`, or `.mboxz` file — Sublime Text 3 will automatically apply the grammar (or choose it manually via **View → Syntax → Email**). --- ## TextMate 2 (macOS) ### Double-Click Installation (Recommended) 1. Download the latest release archive (or clone this repository). 2. Double-click `email.tmBundle` in Finder, or right-click and select **Open With → TextMate**. 3. Click **Yes** when TextMate asks: *"Would you like to install the 'Email' bundle?"* 4. Confirm installation in **TextMate → Settings (or Preferences) → Bundles** and search for **Email**. 5. Open any `.eml`, `.msg`, `.mbx`, or `.mboxz` file — TextMate will automatically select **Email** (or choose it manually from the language selector in the status bar). ### Manual Installation (Git Clone) Clone the repository and symlink `email.tmBundle` into TextMate's `Bundles` directory: ```bash git clone https://github.com/mariozaizar/eml-tmLanguage.git mkdir -p "$HOME/Library/Application Support/TextMate/Bundles" ln -s "$PWD/eml-tmLanguage/email.tmBundle" "$HOME/Library/Application Support/TextMate/Bundles/email.tmBundle" ``` --- ## Looking for Sublime Text 4, `bat`, or Pulsar? - **Sublime Text 4 & `bat`**: Install **[email.sublime-syntax](https://github.com/mariozaizar/email.sublime-syntax)** (available on Package Control as **EML (E-Mail)**). - **Pulsar**: Install **[language-eml](https://github.com/mariozaizar/language-eml)**.