<commit_before>## Commands

Here are all the commands and what they do.

Arguments in [brackets] are optional. Vertical pipes (`|`) mean 'or'.

 - [Builtin](#builtin)
   - [set](#set)
   - [link](#link)
   - [config](#config)
   - [help](#help)
   - [newtab flag](#new-tab-flag)
 - [Websites](#websites)
   - [Google](#google)
   - [DuckDuckGo](#duckduckgo)
   - [Reddit](#reddit)
   - [Hacker News](#hacker-news)
   - [GitHub](#github)
   - [GitHub Gist](#github-gist)
   - [YouTube](#youtube)
   - [Inbox](#inbox)
   - [Netflix](#netflix)
   - [Amazon](#amazon)
   - [Wikipedia](#wikipedia)
   - [Dictionary](#dictionary)
   - [Thesaurus](#thesaurus)
   - [Wolfram Alpha](#wolfram-alpha)
   - [Internet Movie Database](#internet-movie-database)
   - [Google Maps](#google-maps)
   - [Google Drive](#google-drive)
   - [Google Keep](#google-keep)
   - [Trello](#trello)
   - [Google Images](#google-images)
   - [Google Calendar](#google-calendar)
   - [Node Package Manager](#node-package-manager)
   - [Python Package Index](#python-package-index)
   - [Stack Overflow](#stack-overflow)
   - [MDN web docs](#mdn-web-docs)
   
## Builtin

#### set
`set ;setting [;value]`

This is how you change your settings. Settings are saved locally, but can be synced using Gist (see [config](#config) command).

 - **setting** - One of: `defaultCommand`, `bgColor`, `textColor`, `clock`, `newtab`. If no value
   is given, the current value will be displayed.
 - **value** - Either a hex value for `bgColor` or `textColor`, or a command
   shortcut (e.g. `y`) for `defaultCommand`.
 - `set;defaults` will restore default values for all options.

For example: `set;bgColor;#282828` or `set;defaultCommand;dg`

---

#### link
`link ;shortcut ;url [;search]`

This is how you can create custom shortcuts. They are stored in your config. A
link has three parts:

 - `shortcut` - A command shortcut, e.g. `y` for YouTube. Cannot be the same as
   a builtin command.
 - `url` - A website URL, where you want to go when entering the above shortcut.
 - `search` - A piece of a URL that gets appended to the base `url`, e.g.
 `/search?q=`.

For example, here's what a link for Google would look like, and how it would
function:  
`link ;goog ;https://google.com ;/search?q=`  
Now with our `goog` shortcut, we can enter `goog;binary` to search for "binary":  
`https://www.google.com/search?q=binary`

Fun fact: this is how all commands on the first version of the site functioned.
Now all builtin commands are functions, which provides more flexibility.

To see all your links: `link ;show`.  
To delete a link: `link ;shortcut ;delete`.<commit_msg>Formatting improvements<commit_after>## Commands

Here are all the commands and what they do.

Arguments in [brackets] are optional. Vertical pipes (`|`) mean 'or'.

 - [Builtin](#builtin)
   - [set](#set)
   - [link](#link)
   - [config](#config)
   - [help](#help)
   - [newtab flag](#new-tab-flag)
 - [Websites](#websites)
   - [Google](#google)
   - [DuckDuckGo](#duckduckgo)
   - [Reddit](#reddit)
   - [Hacker News](#hacker-news)
   - [GitHub](#github)
   - [GitHub Gist](#github-gist)
   - [YouTube](#youtube)
   - [Inbox](#inbox)
   - [Netflix](#netflix)
   - [Amazon](#amazon)
   - [Wikipedia](#wikipedia)
   - [Dictionary](#dictionary)
   - [Thesaurus](#thesaurus)
   - [Wolfram Alpha](#wolfram-alpha)
   - [Internet Movie Database](#internet-movie-database)
   - [Google Maps](#google-maps)
   - [Google Drive](#google-drive)
   - [Google Keep](#google-keep)
   - [Trello](#trello)
   - [Google Images](#google-images)
   - [Google Calendar](#google-calendar)
   - [Node Package Manager](#node-package-manager)
   - [Python Package Index](#python-package-index)
   - [Stack Overflow](#stack-overflow)
   - [MDN web docs](#mdn-web-docs)
   
## Builtin

#### set
`set ;setting [;value]`

This is how you change your settings. Settings are saved locally, but can be synced using Gist (see [config](#config) command).

 - **setting** - One of: `defaultCommand`, `bgColor`, `textColor`, `clock`, `newtab`. If no value
   is given, the current value will be displayed.
 - **value** - Either a hex value for `bgColor` or `textColor`, or a command
   shortcut (e.g. `y`) for `defaultCommand`.
 - `set;defaults` will restore default values for all options.

For example: `set;bgColor;#282828` or `set;defaultCommand;dg`

---

#### link
`link ;shortcut ;url [;search]`

This is how you can create custom shortcuts. They are stored in your config. A
link has three parts:

 - `shortcut` - A command shortcut, e.g. `y` for YouTube. Cannot be the same as
   a builtin command.
 - `url` - A website URL, where you want to go when entering the above shortcut.
 - `search` - A piece of a URL that gets appended to the base `url`, e.g.
 `/search?q=`.

For example, here's what a link for Google would look like, and how it would
function:  
`link ;goog ;https://google.com ;/search?q=`

Now with our `goog` shortcut, we can enter `goog;binary` to search for "binary",
which simply redirects us to `https://www.google.com/search?q=binary`.

To see all your links: `link ;show`.  
To delete a link: `link ;shortcut ;delete`.
{'fraction_non_alphanumeric': 0.15789473684210525, 'fraction_numerical': 0.0023305496212856864, 'mean_word_length': 3.6354635463546354, 'pattern_counts': {'":': 1, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, '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': '2919538', 'n_tokens_mistral': 1804, 'n_tokens_neox': 1669, 'n_words': 554}