# Default keyboard shortcuts

## Motivations and general conventions

Although Claws Mail is a graphical application and can mainly be commanded with your mouse, it also requires the frequent use of the keyboard. Composing a mail is the most common of the tasks that require the use of the keyboard. For people who write a lot of mails, having to move hands from keyboard to mouse greatly reduces productivity, so Claws Mail provides keyboard shortcuts to allow faster operation.

This not only benefits power users by providing keyboard alternatives and keyboard navigation, it also enables people with disabilities, (who may not be able to properly control a pointing device), to use Claws Mail.

The most general convention is the `Escape` key. Focused dialogues or windows can be closed by hitting the `Esc` key.

There are other key combinations which are assigned by default to menu items. We won't list these here, as they are already shown on the righthand side of the menus themselves, so you can easily learn them with usage. Furthermore, if you don't like them, these shortcuts can be changed on the fly by focusing on the menu item and pressing the desired key combination.

In addition to these shortcuts there are others which vary from window to window, which are summarised in the following sections.

## Main window

Shortcut |
--- | ---
`Ctrl+p` | Print...
`Ctrl+w` | Work offline
`Ctrl+Shift+s` | Synchronise folders
`Ctrl+s` | Save as...
`Ctrl+q` | Exit
`Ctrl+c` | Copy
`Ctrl+a` | Select all
`Ctrl+f` | Find in current message...
`Shift+Ctrl+f` | Search folder...
`Ctrl+t` | Toggle threaded display
`n` | Go to next mail in Message List. The `Down` arrow does the same.
`p` | Go to previous mail. The `Up` arrow is a synonym.
`Shift+n` | Go to next unread mail.
`Shift+p` | Go to previous unread mail.
`g` | Go to other folder...
`Ctrl+u` | Show message source
`Ctrl+h` | Show all message headers
`v` | Toggles the message view panel visibility. When invisible, Message List expands itself to fill the full window height and more summary lines are displayed.
`/` | Positions the cursor on the Quicksearch field, also opening the Quicksearch panel if needed.
`Ctrl+Alt+u` | Update summary
`Ctrl+i` | Get mail from current account
`Shift+Ctrl+i` | Get mail from all accounts
`Ctrl+m` | Compose a new message
`Ctrl+r` | Reply
`Shift+Ctrl+r` | Reply to all
`Ctrl+l` | Reply to mailing list
`Ctrl+Alt+f` | Forward message
`Ctrl+o` | Move...
`Shift+Ctrl+o` | Copy...
`Ctrl+d` | Move to trash
`Shift+d` | Empty all Trash folders
`Shift+*` | Mark message
`u` | Unmark message
`Shift+!` | Mark message as unread
`Shift+Ctrl+a` | Open address book
`x` | Execute
`Shift+Ctrl+l` | Open log window

## Compose window

Shortcut |
--- | ---
`Ctrl+Return` | Send
`Shift+Ctrl+s` | Send later
`Ctrl+m` | Attach file
`Ctrl+i` | Insert file
`Ctrl+g` | Insert signature
`Ctrl+s` | Save
`Ctrl+w` | Close
`Ctrl+z` | Undo
`Ctrl+y` | Redo
`Ctrl+x` | Cut
`Ctrl+c` | Copy
`Ctrl+v` | Paste
`Ctrl+a` | Select all
`Ctrl+b` | Move a character backward
`Ctrl+f` | Move a character forward
`Ctrl+e` | Move to end of line
`Ctrl+p` | Move a previous line
`Ctrl+n` | Move a next line
`Ctrl+h` | Delete a character backward
`Ctrl+d` | Delete a character forward
`Ctrl+u` | Delete line
`Ctrl+k` | Delete to end of line
`Ctrl+l` | Wrap current paragraph
`Ctrl+Alt+l` | Wrap all long lines
`Shift+Ctrl+l` | Toggle auto wrapping
`Shift+Ctrl+x` | Edit with external editor
`Shift+Ctrl+a` | Open address book