[
    {
        "role": "user",
        "content": "in%20neomutt%20when%20i%20press%20c%20to%20change%20mailboxes%2C%20do%20i%20have%20to%20type%20%3D%20and%20the%20entire%20mailbox%20name%2C%20even%20for%20something%20like%20inbox%3F%20aren%27t%20there%20quicker%20ways%3F"
    },
    {
        "role": "assistant",
        "content": "No \u2014 you don\u2019t always have to type the full mailbox name in NeoMutt when you press `c` to change folders/mailboxes. There *are* built-in shortcuts, folder aliases, and ways to bind keys to commonly used mailboxes so that switching becomes faster. Here are several faster ways:\n\n---\n\n### \ud83d\udcda Built-in mailbox shortcuts\n\nAccording to the NeoMutt Advanced Usage documentation, when changing folders (like after pressing `c`), you can use special prefix shortcuts at the beginning of the name instead of typing the full path. ([neomutt.org](https://neomutt.org/guide/advancedusage?utm_source=openai))\n\nHere are some you might find helpful: ([neomutt.org](https://neomutt.org/guide/advancedusage?utm_source=openai))\n\n- `!` \u2014 your spool file (incoming mail)  \n- `>` \u2014 your `$mbox` file  \n- `<` \u2014 your `$record` file  \n- `^` \u2014 the **current** mailbox  \n- `-` or `!!` \u2014 the last visited mailbox  \n- `~` \u2014 your home directory  \n- `=` or `+` \u2014 your `$folder` directory (often where your mailboxes are stored)  \n\nSo if your `INBOX` is in `$folder`, you could type something like `+INBOX` instead of the full path. If it\u2019s the default inbox in `$folder`, you may additionally be able to simply hit `=` or `+` followed by `INBOX`, depending on how your folders are structured.\n\n---\n\n### \ud83d\udd27 Use a sidebar or mailbox list\n\nIf you have the sidebar enabled, NeoMutt shows a list of mailboxes in the sidebar (left panel). From there you can navigate with shortcuts, highlight a folder, and open it without typing its name every time. ([neomutt.org](https://neomutt.org/guide/gettingstarted.html?utm_source=openai))\n\nBy default, `c` still opens a prompt, but you can move through the sidebar with keys (e.g. `Ctrl-j/k`), and `Ctrl-O` opens the selected folder. ([neomutt.org](https://neomutt.org/guide/gettingstarted.html?utm_source=openai))\n\n---\n\n### \ud83d\udd17 Keybindings / custom aliases\n\nIf you have a few mailboxes you use all the time (INBOX, Sent, Drafts, etc.), you can define custom keybindings (macros) to jump directly to them without even using `c`. This is popular in setups like with the `mutt\u2010wizard` tool. For example: `gi` to go to Inbox, `gs` to go to Sent, `gd` to Drafts, etc. ([github.com](https://github.com/LukeSmithxyz/mutt-wizard?utm_source=openai))\n\nHere\u2019s a rough example:\n\n```\nmacro index g i \"<change-folder>+INBOX<enter>\" \"Go to Inbox\"\nmacro index g s \"<change-folder>+Sent<enter>\" \"Go to Sent\"\n```\n\nOnce defined, pressing `gi` or `gs` in the index view would get you there directly.\n\n---\n\n### \u2705 Summary  \n\nSo to answer your questions:\n\n- No, you **don\u2019t** always need to type `=` or the full mailbox name \u2014 using shortcuts like `+INBOX` and others can speed things up.  \n- You **can** set up custom aliases or macros for your most used folders.  \n- Using a sidebar (if configured) often lets you visually select a folder instead of typing at all.\n\n---\n\nIf you tell me your NeoMutt setup (mail folder base path, folder names, whether you're using IMAP or local folders, whether `folder` or `mailboxes` are configured), I can help you pick or write the optimal shortcuts/macros so switching to your common mailboxes becomes a one-or-two keystroke operation."
    },
    {
        "role": "user",
        "content": "how%20to%20enable%2Fdisable%20sidebar%20and%20what%20is%20the%20default%3F"
    },
    {
        "role": "assistant",
        "content": "Here\u2019s how to enable or disable the sidebar in NeoMutt \u2014 and what the default behavior is.\n\n---\n\n### \ud83d\udd27 Default behavior\n\n- By default, **sidebar visibility is off** (i.e. `sidebar_visible = no`). ([neomutt.org](https://neomutt.org/feature/sidebar?utm_source=openai))  \n- Other default sidebar settings include:\n  - `$sidebar_width = 20` columns. ([neomutt.org](https://neomutt.org/feature/sidebar?utm_source=openai))  \n  - It will use the full mailbox path (relative to `$folder`), unless you enable shortening. ([neomutt.org](https://neomutt.org/guide/reference.html?utm_source=openai))  \n\n---\n\n### \u2705 How to enable the sidebar\n\nTo show the sidebar at startup or during use:\n\n1. In your neomuttrc (configuration file), add:\n   ```\n   set sidebar_visible = yes\n   ```\n   This ensures the sidebar is visible when you start NeoMutt. ([neomutt.org](https://neomutt.org/feature/sidebar-intro?utm_source=openai))\n\n2. (Optional) To customize it, you may also want to set other sidebar-related variables, e.g.:\n   ```\n   set sidebar_width = 20\n   set sidebar_format = \"%B%?F? [%F]?%* %?N?%N/?%S\"\n   set mail_check_stats = yes\n   ```\n   These control appearance, content, and whether things like unread/new mail counts are tracked. ([neomutt.org](https://neomutt.org/feature/sidebar-intro?utm_source=openai))\n\n---\n\n### \ud83d\udeab How to disable (or toggle) the sidebar\n\nIf the sidebar is currently visible and you want to turn it off quickly:\n\n- Use the toggle function:  \n  Bind a key in the context of index/pager to `<sidebar-toggle-visible>`. For example:\n  ```\n  bind index,pager B sidebar-toggle-visible\n  ```\n  Pressing `B` will then toggle the sidebar (on or off). ([neomutt.org](https://neomutt.org/feature/sidebar?utm_source=openai))\n\n- Or disable in config by default:\n  ```\n  set sidebar_visible = no\n  ```\n  Ensures the sidebar remains hidden unless you explicitly toggle it. ([neomutt.org](https://neomutt.org/feature/sidebar?utm_source=openai))\n\n---\n\nIf you like, I can help you define custom bindings or shortcuts for switching mailboxes so you don\u2019t need to type full names."
    }
]