Getting Started with NeoMutt#
This tutorial gives you a friendly tour of NeoMutt’s main screens and the keys you’ll use every day. You’ll launch NeoMutt, move around, and find help when you need it.
If you haven’t configured an account yet, start with Writing Your First Configuration or the guided Start Here page, then come back for the tour.
The keybindings shown here are the defaults. Your system may differ. In any menu, press ? to see the current bindings for your setup.
Start NeoMutt by running neomutt in your terminal.
Quick Tour#
Start NeoMutt and wait for the message list (the Index).
Press ? to open the help screen and note the keys for moving up and down and for quitting.
Use j and k to move the selection. Use the help screen to find the key that opens a message.
In the message view (the Pager), press ? again to see its keys, then press q to return.
Press q to quit when you’re done.
If you want more depth on the screens and menus, keep reading.
Core Concepts#
NeoMutt is a text-based application which interacts with users through different menus which are mostly line-/entry-based or page-based. A line-based menu is the so-called “index” menu (listing all messages of the currently opened folder) or the “alias” menu (allowing you to select recipients from a list). Examples for page-based menus are the “pager” (showing one message at a time) or the “help” menu listing all available key bindings.
The user interface consists of a context sensitive help line at the top, the menu’s contents followed by a context sensitive status line and finally the command line. The command line is used to display informational and error messages as well as for prompts and for entering interactive commands.
📷 Screenshot Needed
Subject: NeoMutt overall UI layout
Description: A full terminal window showing NeoMutt’s main interface with the context-sensitive help line at the top, the message index in the center, the status line near the bottom, and the command line at the very bottom.
Highlights: The four distinct areas of the UI — help line, menu content, status line, and command line — should each be clearly visible and identifiable.
NeoMutt is configured through variables which, if the user wants to permanently use a non-default value, are written to configuration files. NeoMutt supports a rich config file syntax to make even complex configuration files readable and commentable.
Because NeoMutt allows for customizing almost all key bindings, there are so-called “functions” which can be executed manually (using the command line) or in macros. Macros allow the user to bind a sequence of commands to a single key or a short key sequence instead of repeating a sequence of actions over and over.
Many commands (such as saving or copying a message to another folder) can be applied to a single message or a set of messages (so-called “tagged” messages). To help selecting messages, NeoMutt provides a rich set of message patterns (such as recipients, sender, body contents, date sent/received, etc.) which can be combined into complex expressions using the boolean and and or operations as well as negating. These patterns can also be used to (for example) search for messages or to limit the index to show only matching messages.
NeoMutt supports a “hook” concept which allows the user to execute arbitrary configuration commands and functions in certain situations such as entering a folder, starting a new message or replying to an existing one. These hooks can be used to highly customize NeoMutt’s behavior including managing multiple identities, customizing the display for a folder or even implementing auto-archiving based on a per-folder basis and much more.
Besides an interactive mode, NeoMutt can also be used as a command-line tool to send messages.
Next Steps#
“I want to connect my account.” Go to Writing Your First Configuration, or choose your provider in Start Here.
“I want to read and send mail.” Continue with Reading Your First Email and Sending Email.
“I want a shortcut list of keys.” See the Shortcuts Reference.