# Cheat Sheet #day8 - Slack

### Slack Cheat Sheet

Slack is a popular messaging platform designed for teams and workplaces. It offers a wide array of features to streamline communication and collaboration. Below is a cheat sheet covering essential Slack commands, shortcuts, and tips to help you make the most of the platform.

#### Basic Navigation
- **Switch between DMs and channels**: `Ctrl + K` (Windows/Linux) or `Cmd + K` (Mac)
- **Jump to a conversation**: `Ctrl + J` (Windows/Linux) or `Cmd + J` (Mac)
- **Open Threads view**: `Ctrl + Shift + T` (Windows/Linux) or `Cmd + Shift + T` (Mac)
- **Open All Unreads view**: `Ctrl + Shift + A` (Windows/Linux) or `Cmd + Shift + A` (Mac)
- **Go to previous channel or DM**: `Alt + Left Arrow` (Windows/Linux) or `Cmd + [` (Mac)
- **Go to next channel or DM**: `Alt + Right Arrow` (Windows/Linux) or `Cmd + ]` (Mac)

#### Messaging
- **Send a message**: `Enter`
- **Add a new line**: `Shift + Enter`
- **Edit last message**: `Up Arrow` (in message input)
- **React to the last message**: `+` followed by `:emoji_name:` and `Enter`
- **Mention a user**: `@username`
- **Mention a channel**: `#channelname`
- **Emphasize text**: 
  - *Italic*: `_italic_` or `*italic*`
  - **Bold**: `*bold*` or `__bold__`
  - `Code`: `` `code` ``
  - Blockquote: `> quote`
  - Preformatted block: ```` ``` code ``` ````
- **Upload a file**: Drag and drop into the message input or use the `+` icon.

#### Slash Commands
- **Switch to a specific channel**: `/join #channelname`
- **Set your status**: `/status :emoji: your_status`
- **Invite someone to a channel**: `/invite @username`
- **Leave a channel**: `/leave`
- **Create a new private group**: `/msg @username`
- **Send a DM**: `/dm @username message`
- **Search in Slack**: `/search query`
- **Mark all messages as read**: `/mark all read`
- **Set a reminder**: `/remind me to message @username at 10am`

#### Formatting Shortcuts
- **Bold**: `Cmd + B` (Mac) or `Ctrl + B` (Windows/Linux)
- **Italic**: `Cmd + I` (Mac) or `Ctrl + I` (Windows/Linux)
- **Strikethrough**: `Cmd + Shift + X` (Mac) or `Ctrl + Shift + X` (Windows/Linux)
- **Inline code**: `Cmd + Shift + C` (Mac) or `Ctrl + Shift + C` (Windows/Linux)
- **Quote block**: `Cmd + Shift + >` (Mac) or `Ctrl + Shift + >` (Windows/Linux)
- **Preformatted text block**: `Cmd + Shift + ` (Mac) or `Ctrl + Shift + ` (Windows/Linux)

#### Managing Notifications
- **Set Do Not Disturb (DND)**: `/dnd [time]`
- **Pause notifications**: Click your profile picture > Pause notifications > Select a time frame
- **Customize channel notifications**: Click the channel name > Notifications > Choose your preference
- **Mute a channel**: Click the channel name > Mute channel
- **View all mentions and reactions**: `Cmd + Shift + M` (Mac) or `Ctrl + Shift + M` (Windows/Linux)

#### Search
- **Quick search**: `Cmd + F` (Mac) or `Ctrl + F` (Windows/Linux)
- **Advanced search**: Use modifiers such as:
  - `from:@username`: Messages from a specific user
  - `in:#channel`: Messages in a specific channel
  - `has:link`: Messages containing links
  - `before:date`: Messages before a specific date
  - `after:date`: Messages after a specific date

#### Channel Management
- **Create a new channel**: Click the `+` next to Channels > Create a channel
- **Archive a channel**: `/archive`
- **Rename a channel**: Click the channel name > Settings > Rename
- **Add or remove members**: Click the channel name > Members > Add or remove members

#### Apps and Integrations
- **Browse and install apps**: Click Apps in the sidebar or visit the Slack App Directory
- **Use app commands**: Each app can have its own slash commands, check the app's documentation for specifics
- **Manage installed apps**: Click your workspace name > Settings & administration > Manage apps

#### Keyboard Shortcuts
- **Open the shortcut menu**: `Cmd + /` (Mac) or `Ctrl + /` (Windows/Linux)
- **Mark all messages as read**: `Shift + Esc`
- **Toggle star for the selected message**: `Cmd + Shift + S` (Mac) or `Ctrl + Shift + S` (Windows/Linux)
- **Toggle full screen mode**: `Cmd + Shift + F` (Mac) or `Ctrl + Shift + F` (Windows/Linux)

This cheat sheet provides a quick reference to essential Slack commands, shortcuts, and features, helping you navigate and use Slack more effectively. For more detailed information, refer to the [Slack documentation](https://slack.com/help).
