<commit_before># Configuration for Sublime Text

## Install

1. Install Sublime Text and [Package Control].
2. Symlink this directory **as** the `Packages/User` folder.
3. Run "Package Control: Upgrade/Overwrite All Packages" to install all the packages (listed in `Package Control.sublime-settings`).

## Notes

### Spellcheck

To install spellchecks, clone `SublimeText/Dictionaries` and put them in `Packages/Language - German/` for example. Now the language will show up under `View > Dictionary`.

### Manually installing plugins

The best way of dealing with manually installed plugins, I've found, is to leave the `Installed Packages`
for [Package Control] to handle by itself, and install the manual ones in `Packages`
using `git clone`, and eventually checking out the ST3-branch.

The current manually installed packages are:

- `ingshtrom/BlockCursorEverywhere` (this is no longer being updated, should be replaced shortly)
- `dnatag/SublimeTODO` (fork for st3)

### Fixing path for build systems

Sublime sadly does not use the same $PATH variable as your terminal. To get certain build systems working that require
things that are not in your default path **(this is often the case if you use homebrew, rvm, nvm etc.)** you need to do this:

1. Get the current path

        echo $PATH

2. Edit `/etc/launchd.conf` (if it's not there - create it)

        # Replace THE_PATH with the output from previous command
        setenv PATH THE_PATH<commit_msg>It's only for 3!<commit_after># Configuration for Sublime Text 3

## Install

1. Install Sublime Text and [Package Control].
2. Symlink this directory **as** the `Packages/User` folder.
3. Run "Package Control: Upgrade/Overwrite All Packages" to install all the packages (listed in `Package Control.sublime-settings`).

## Notes

### Spellcheck

To install spellchecks, clone `SublimeText/Dictionaries` and put them in `Packages/Language - German/` for example. Now the language will show up under `View > Dictionary`.

### Manually installing plugins

The best way of dealing with manually installed plugins, I've found, is to leave the `Installed Packages`
for [Package Control] to handle by itself, and install the manual ones in `Packages`
using `git clone`, and eventually checking out the ST3-branch.

The current manually installed packages are:

- `ingshtrom/BlockCursorEverywhere` (this is no longer being updated, should be replaced shortly)
- `dnatag/SublimeTODO` (fork for st3)
- `tmanderson/VintageLines` looks promising, but it jumps the text around a bit too much

### Fixing path for build systems

Sublime sadly does not use the same $PATH variable as your terminal. To get certain build systems working that require
things that are not in your default path **(this is often the case if you use homebrew, rvm, nvm etc.)** you need to do this:

1. Get the current path

        echo $PATH

2. Edit `/etc/launchd.conf` (if it's not there - create it)

        # Replace THE_PATH with the output from previous command
        setenv PATH THE_PATH
{'fraction_non_alphanumeric': 0.07501652346331791, 'fraction_numerical': 0.005287508261731659, 'mean_word_length': 4.192109777015437, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '871030', 'n_tokens_mistral': 849, 'n_tokens_neox': 820, 'n_words': 420}