> For the complete documentation index, see [llms.txt](https://docs.msgfiler.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.msgfiler.com/using-msgfiler/keyboard-shortcuts.md).

# Keyboard Shortcuts

MsgFiler 4 has a number of keyboard shortcuts to make you efficient at filing messages from the keyboard. There are also special keys you can press when focused on the MsgFiler 4 search field or the mailboxes table.

{% hint style="info" %}
Starting with MsgFiler 4.1.0, you can now customize many of these shortcuts. Learn more in [Keyboard Shortcut Settings](/settings/keyboard-shortcuts.md).
{% endhint %}

## General

These keyboard shortcuts are available when a MsgFiler 4 window is frontmost.

<table><thead><tr><th width="264">Keyboard Shortcut</th><th width="89" align="center">Symbol</th><th width="237">Action</th><th>Notes</th></tr></thead><tbody><tr><td>Shift-Command-F</td><td align="center"><strong>⇧⌘F</strong></td><td>Enters Focused Filing</td><td></td></tr><tr><td>Command-R</td><td align="center"><strong>⌘R</strong></td><td>Reloads mailboxes</td><td></td></tr><tr><td>Command-Q</td><td align="center"><strong>⌘Q</strong></td><td>Quits MsgFiler</td><td></td></tr><tr><td>Command-W</td><td align="center"><strong>⌘W</strong></td><td>Closes MsgFiler window and returns to Mail</td><td></td></tr><tr><td>Command-Comma</td><td align="center"><strong>⌘,</strong></td><td>Opens the Settings window</td><td></td></tr></tbody></table>

## MsgFiler Window

These keyboard shortcuts are only available when focused on the MsgFiler 4 window.

<table><thead><tr><th width="315">Keyboard Shortcut</th><th width="126" align="center">Symbol</th><th width="184">Action</th><th>Notes</th></tr></thead><tbody><tr><td>Control-Command-A</td><td align="center"><strong>⌃⌘A</strong></td><td>Archives the selected message(s)</td><td>1</td></tr><tr><td>Shift-Command-C</td><td align="center"><strong>⇧⌘C</strong></td><td>Copies the selected message(s) to the highlighted mailbox</td><td></td></tr><tr><td>Control-Option-Command-E</td><td align="center"><strong>⌃⌥⌘E</strong></td><td>Toggles Pressing Enter always performs default action</td><td></td></tr><tr><td>Control-Option-Command-F</td><td align="center"><strong>⌃⌥⌘F</strong></td><td>Toggles Focus on search on activation</td><td></td></tr><tr><td>Shift-Command-S</td><td align="center"><strong>⇧⌘S</strong></td><td>Toggles Smart Suggestions</td><td></td></tr><tr><td>Shift-Command-L</td><td align="center"><strong>⇧⌘L</strong></td><td>Toggles flag status of selected messages</td><td>1</td></tr><tr><td>Shift-Command-M</td><td align="center"><strong>⇧⌘M</strong></td><td>Moves the selected message(s) to the highlighted mailbox</td><td>1</td></tr><tr><td>Control-Option-Command-M</td><td align="center"><strong>⌃⌥⌘M</strong></td><td>Toggles Ignore mailbox paths when searching</td><td></td></tr><tr><td>Control-N</td><td align="center"><strong>⌃N</strong></td><td>Moves to the next mailbox</td><td></td></tr><tr><td>Shift-Command-N</td><td align="center"><strong>⇧⌘N</strong></td><td>Creates a new mailbox</td><td></td></tr><tr><td>Control-Option-Command-N</td><td align="center"><strong>⌃⌥⌘N</strong></td><td>Creates a new top-level mailbox</td><td></td></tr><tr><td>Command-O</td><td align="center"><strong>⌘O</strong></td><td>Opens the currently selected mailbox</td><td></td></tr><tr><td>Shift-Command-O</td><td align="center"><strong>⇧⌘O</strong></td><td>Opens the currently selected mailbox in a new window</td><td></td></tr><tr><td>Control-Option-Command-O</td><td align="center"><strong>⌃⌥⌘O</strong></td><td>Toggles Keep open after filing</td><td></td></tr><tr><td>Control-P</td><td align="center"><strong>⌃P</strong></td><td>Moves to the previous mailbox</td><td></td></tr><tr><td>Control-Option-Command-P</td><td align="center"><strong>⌃⌥⌘P</strong></td><td>Toggles Play sound after filing</td><td></td></tr><tr><td>Control-Option-Command-S</td><td align="center"><strong>⌃⌥⌘S</strong></td><td>Toggles Restrict search to selected accounts</td><td></td></tr><tr><td>Shift-Command-T</td><td align="center"><strong>⇧⌘T</strong></td><td>Train selected messages on the highlighted mailbox</td><td></td></tr><tr><td>Shift-Command-U</td><td align="center"><strong>⇧⌘U</strong></td><td>Toggles read status of selected message(s)</td><td>1</td></tr><tr><td>Control-Option-Command-Number</td><td align="center"><strong>⌃⌥⌘ [1-9]</strong></td><td>Performs default action on the Nth item in the mailbox list</td><td>4</td></tr><tr><td>Command-Minus</td><td align="center"><strong>⌘-</strong></td><td>Removes the currently selected mailbox from the Favorites list</td><td>5</td></tr><tr><td>Command-Plus</td><td align="center"><strong>⌘+</strong></td><td>Adds the currently selected mailbox to the Favorites list</td><td>6</td></tr><tr><td>Command-[</td><td align="center"><strong>⌘[</strong></td><td>Cycles through the default actions in reverse</td><td></td></tr><tr><td>Command-]</td><td align="center"><strong>⌘]</strong></td><td>Cycles through the default actions</td><td></td></tr><tr><td>Shift-Command-\</td><td align="center"><strong>⇧⌘\</strong></td><td>Opens Mail</td><td></td></tr></tbody></table>

## Search Field

These hot keys and keyboard shortcuts work when your cursor is in the search field of the MsgFiler 4 window.

<table><thead><tr><th width="199">Keyboard Shortcut</th><th width="96" align="center">Symbol</th><th width="270">Action</th><th>Notes</th></tr></thead><tbody><tr><td>Enter</td><td align="center">↩</td><td>Performs default filing action or focuses on mailbox table</td><td>7</td></tr><tr><td>Escape</td><td align="center">⎋</td><td>Clears the search or closes MsgFiler</td><td>7</td></tr><tr><td>Down Arrow</td><td align="center">↓</td><td>Focuses on the mailbox table</td><td></td></tr><tr><td>Command-Up</td><td align="center"><strong>⌘</strong>↑</td><td>Selects the previous message in Mail</td><td> 1, 2</td></tr><tr><td>Command-Down</td><td align="center"><strong>⌘</strong>↓</td><td>Selects the next message in Mail</td><td> 1, 2</td></tr><tr><td>Command-Left</td><td align="center"><strong>⌘</strong>←</td><td>Tries to collapse the conversation in Mail</td><td> 1, 2, 3</td></tr><tr><td>Command-Right</td><td align="center"><strong>⌘</strong>→</td><td>Tries to expand the conversation in Mail</td><td> 1, 2, 3</td></tr></tbody></table>

## Mailboxes Table

These hot keys and keyboard shortcuts work when focus is on the Mailboxes Table in the MsgFiler 4 window.

<table><thead><tr><th width="186">Key</th><th width="88" align="center">Symbol</th><th width="258">Action</th><th>Notes</th></tr></thead><tbody><tr><td>Enter</td><td align="center">↩</td><td>Performs default filing action</td><td>8</td></tr><tr><td>Up Arrow</td><td align="center">↑</td><td>Selects the previous mailbox in the Mailboxes Table or returns focus to the search field when the first mailbox in the list is reached</td><td></td></tr><tr><td>Command-Up</td><td align="center"><strong>⌘</strong>↑</td><td>Selects the previous message in Mail</td><td>1, 2</td></tr><tr><td>Command-Down</td><td align="center"><strong>⌘</strong>↓</td><td>Selects the next message in Mail</td><td>1, 2</td></tr><tr><td>Command-Left</td><td align="center"><strong>⌘</strong>←</td><td>Tries to collapse the conversation in Mail</td><td>1, 2, 3</td></tr><tr><td>Command-Right</td><td align="center"><strong>⌘</strong>→</td><td>Tries to expand the conversation in Mail</td><td>1, 2, 3</td></tr><tr><td>Numbers 0-9</td><td align="center">0-9</td><td>Selects the mailbox at the given row of the mailbox table</td><td>4</td></tr></tbody></table>

## Additional Notes

1. Requires the [MsgFiler Filing Script](/using-msgfiler/msgfiler-filing-script.md).
2. Focus is returned to MsgFiler 4 after running.
3. User must lift the command key after pressing for Mail to recognize the collapse command.
4. 1 is the first item and 0 is the 10th item.
5. Does nothing if the mailbox is not in the Favorites list.
6. Does nothing if the mailbox is already in the Favorites list.
7. Configure in [Advanced Settings](/settings/advanced.md).
8. Configure in [Filing Settings](/settings/filing.md).
