literate-dotfiles/docs/mail.html
2020-05-26 08:40:15 +02:00

2122 lines
72 KiB
HTML

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2020-05-26 mar. 08:40 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Mail Configuration</title>
<meta name="generator" content="Org mode" />
<meta name="author" content="Dehaeze Thomas" />
<link rel="stylesheet" type="text/css" href="./css/htmlize.css"/>
<link rel="stylesheet" type="text/css" href="./css/readtheorg.css"/>
<script type="text/javascript" src="./js/jquery.min.js"></script>
<script type="text/javascript" src="./js/bootstrap.min.js"></script>
<script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script>
<script type="text/javascript" src="./js/readtheorg.js"></script>
</head>
<body>
<div id="org-div-home-and-up">
<a accesskey="h" href="./index.html"> UP </a>
|
<a accesskey="H" href="./index.html"> HOME </a>
</div><div id="content">
<h1 class="title">Mail Configuration</h1>
<div id="table-of-contents">
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#org2ca5a33">Synchronize Mailboxes - Mbsync</a>
<ul>
<li><a href="#org3afb8bb">Global Defaults</a></li>
<li><a href="#orgbda4030">Gmail Account</a></li>
<li><a href="#org57deb6d">ESRF Account</a></li>
<li><a href="#org759800a">ULG Student Account</a></li>
<li><a href="#orgb0ed5cf">ULG Personal Account</a></li>
</ul>
</li>
<li><a href="#org672ae70">Send Mails - Msmtp</a>
<ul>
<li><a href="#org9620340">Defaults</a></li>
<li><a href="#org2778afa">Gmail Account</a></li>
<li><a href="#orgcef72ee">ESRF Account</a></li>
<li><a href="#org0bb0cef">ULG Account</a></li>
<li><a href="#org06e99f4">ULIEGE Account</a></li>
<li><a href="#org7b20d0c">Default Account</a></li>
</ul>
</li>
<li><a href="#org8e85c4d">Mail Indexer - Mu</a></li>
<li><a href="#orgc7467fd">Mail Client - NeoMutt</a>
<ul>
<li><a href="#org8133ca9">Bindings</a>
<ul>
<li><a href="#org12a205c">Unding all the key bindings</a></li>
<li><a href="#org33de0ba">Quit Neomutt</a></li>
<li><a href="#org6d1494c">Generic</a></li>
<li><a href="#org39630e2">Index and Pager</a></li>
<li><a href="#orgc73598b">Limit</a></li>
<li><a href="#orge5e6fdf">Search</a></li>
<li><a href="#org2a4b061">Attachments</a></li>
<li><a href="#org6b5b778">Compose</a>
<ul>
<li><a href="#org7848e3c">Attach with Ranger Script</a></li>
<li><a href="#org147e13d">Send HTML mails using Markdown</a></li>
</ul>
</li>
<li><a href="#orga459fea">Browser</a></li>
<li><a href="#orgf5e04db">Generic</a></li>
<li><a href="#org81e57df">Copy and move mails</a></li>
<li><a href="#org4e69538">Sidebar</a></li>
<li><a href="#orgcbcfabe">Reload Configuration</a></li>
<li><a href="#org62625e7">urlview - Open URL in emails</a></li>
<li><a href="#org2c7bcf7">Searching using Mu</a></li>
<li><a href="#org0979e59">Link to Orgmode</a>
<ul>
<li><a href="#orgb30bf6d">Link mail to orgmode - Script</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="#org89ca168">Colors</a>
<ul>
<li><a href="#org4a8185b">Basic colors</a></li>
<li><a href="#org376f35d">Index</a></li>
<li><a href="#org454024d">Sidebar</a></li>
<li><a href="#orge423775">Message headers</a></li>
<li><a href="#orgf379bbc">Attachments</a></li>
<li><a href="#orgb4d93d5">Body</a></li>
<li><a href="#org07b1c9d">PGP</a></li>
<li><a href="#org4f061d9">Urls</a></li>
<li><a href="#org8b521b7">Emails</a></li>
</ul>
</li>
<li><a href="#org4840585">Contacts with Mu</a></li>
<li><a href="#orgdb26e44">Paths</a></li>
<li><a href="#orgd324abe">Print</a></li>
<li><a href="#orgf6c14ac">Accounts</a>
<ul>
<li><a href="#orgbd57e22">Gmail</a>
<ul>
<li><a href="#org647fde0">Configuration</a></li>
<li><a href="#orge0c1cfa">Signature</a></li>
</ul>
</li>
<li><a href="#orgc13752f">ESRF</a>
<ul>
<li><a href="#org07bf348">Configuration</a></li>
<li><a href="#orgf1f121b">Signature</a></li>
</ul>
</li>
<li><a href="#orgd5fd652">ULG</a>
<ul>
<li><a href="#orgc347679">Configuration</a></li>
<li><a href="#org8b11a57">Signature</a></li>
</ul>
</li>
<li><a href="#orgc6c55ac">ULIEGE</a>
<ul>
<li><a href="#org6c3bd8b">Configuration</a></li>
<li><a href="#org03da1a3">Signature</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="#orgc27a179">Basic Options</a></li>
<li><a href="#org27d7b40">View Options</a>
<ul>
<li><a href="#org0c24ff2">Status Bar</a></li>
<li><a href="#org8b55982">Index View Options</a></li>
<li><a href="#orgb38054e">Pager View Options</a></li>
<li><a href="#org70d58be">Compose View Options</a></li>
<li><a href="#orge1d1147">Headers</a></li>
</ul>
</li>
<li><a href="#orge686f6a">Sidebar</a>
<ul>
<li><a href="#org953ed4c">General Config</a></li>
<li><a href="#org61e4389">Mailboxes to show in the sidebar.</a></li>
</ul>
</li>
<li><a href="#org337438a">Attachments</a>
<ul>
<li><a href="#org39c5999">Attachment View Options</a></li>
<li><a href="#org7a51e1d">Open Attachment</a></li>
<li><a href="#org2107001">Attach multiple files at once</a></li>
<li><a href="#org5faf10e">Forgotten Attachment</a></li>
</ul>
</li>
<li><a href="#orga483a0d">Scripts and other config files</a>
<ul>
<li><a href="#orge567f97">Sync Mail script</a></li>
<li><a href="#org7f01f4d">Openfile Scripts</a></li>
<li><a href="#orgcc8c95f">urlview Config</a></li>
<li><a href="#org55699b6">Mailcap</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<div id="outline-container-org2ca5a33" class="outline-2">
<h2 id="org2ca5a33">Synchronize Mailboxes - Mbsync</h2>
<div class="outline-text-2" id="text-org2ca5a33">
<p>
<a href="http://isync.sourceforge.net/">http://isync.sourceforge.net/</a>
</p>
</div>
<div id="outline-container-org3afb8bb" class="outline-3">
<h3 id="org3afb8bb">Global Defaults</h3>
<div class="outline-text-3" id="text-org3afb8bb">
<div class="org-src-container">
<pre class="src src-conf"># Automatically create missing mailboxes, both locally and on the server
Create Both
# Save the synchronization state files in the relevant directory
SyncState *
# Permanently remove all messages [on the Master/Slave] marked for deletion.
Expunge Both
</pre>
</div>
</div>
</div>
<div id="outline-container-orgbda4030" class="outline-3">
<h3 id="orgbda4030">Gmail Account</h3>
<div class="outline-text-3" id="text-orgbda4030">
<div class="org-src-container">
<pre class="src src-conf">IMAPAccount gmail
Host imap.gmail.com
User dehaeze.thomas@gmail.com
PassCmd "pass email/dehaeze.thomas@gmail.com"
SSLType IMAPS
AuthMechs LOGIN
CertificateFile /etc/ssl/certs/ca-certificates.crt
</pre>
</div>
<div class="org-src-container">
<pre class="src src-conf">IMAPStore gmail-remote
Account gmail
MaildirStore gmail-local
Path ~/.mail/gmail/
Inbox ~/.mail/gmail/Inbox
Channel gmail-Home
Master :gmail-remote:"INBOX"
Slave :gmail-local:Inbox
Channel gmail-Drafts
Master :gmail-remote:"[Gmail]/Drafts"
Slave :gmail-local:Drafts
Channel gmail-Sent
Master :gmail-remote:"[Gmail]/Sent Mail"
Slave :gmail-local:Sent
Channel gmail-Trash
Master :gmail-remote:"[Gmail]/Trash"
Slave :gmail-local:Trash
Channel gmail-All
Master :gmail-remote:"[Gmail]/All Mail"
Slave :gmail-local:Archive
</pre>
</div>
<div class="org-src-container">
<pre class="src src-conf"># Catch-all for everything else: note that the `Patterns` have to exclude both
# the remote and local names for all the folders we want to exclude (except
# "INBOX", which is special-cased, it would seem).
Channel gmail
Master :gmail-remote:
Slave :gmail-local:
# Exclude everything under the internal [Gmail] folder, except the interesting folders
Patterns *
Patterns !INBOX
Patterns ![Gmail]*
Patterns !Archive
Patterns !Drafts
Patterns !Sent Mail
Patterns !Trash
Patterns !Spam
Patterns !Starred
</pre>
</div>
<div class="org-src-container">
<pre class="src src-conf"># For doing a quick sync of just the INBOX with `mbsync gmail-download`.
Channel gmail-download
Master :gmail-remote:"INBOX"
Slave :gmail-local:Inbox
Create Slave
Expunge Slave
Sync Pull
</pre>
</div>
</div>
</div>
<div id="outline-container-org57deb6d" class="outline-3">
<h3 id="org57deb6d">ESRF Account</h3>
<div class="outline-text-3" id="text-org57deb6d">
<div class="org-src-container">
<pre class="src src-conf">IMAPAccount esrf
Host imaps.esrf.fr
User dehaeze
PassCmd "pass email/thomas.dehaeze@esrf.fr"
SSLType IMAPS
AuthMechs LOGIN
</pre>
</div>
<div class="org-src-container">
<pre class="src src-conf">IMAPStore esrf-remote
Account esrf
MaildirStore esrf-local
Path ~/.mail/esrf/
Inbox ~/.mail/esrf/Inbox
Channel esrf-Home
Master :esrf-remote:"Inbox"
Slave :esrf-local:Inbox
Channel esrf-Drafts
Master :esrf-remote:"Drafts"
Slave :esrf-local:Drafts
Channel esrf-Archive
Master :esrf-remote:"Archive"
Slave :esrf-local:Archive
Channel esrf-Sent
Master :esrf-remote:"Sent"
Slave :esrf-local:Sent
Channel esrf-Trash
Master :esrf-remote:"Trash"
Slave :esrf-local:Trash
</pre>
</div>
<div class="org-src-container">
<pre class="src src-conf">Channel esrf
Master :esrf-remote:
Slave :esrf-local:
</pre>
</div>
<p>
For doing a quick sync of just the INBOX with `mbsync esrf-download`.
</p>
<div class="org-src-container">
<pre class="src src-conf">Channel esrf-download
Master :esrf-remote:"INBOX"
Slave :esrf-local:Inbox
Create Slave
Expunge Slave
Sync Pull
</pre>
</div>
</div>
</div>
<div id="outline-container-org759800a" class="outline-3">
<h3 id="org759800a">ULG Student Account</h3>
<div class="outline-text-3" id="text-org759800a">
<div class="org-src-container">
<pre class="src src-conf">IMAPAccount ulg
Host mail.ulg.ac.be
User thomas.dehaeze@doct.uliege.be
PassCmd "pass email/thomas.dehaeze@doct.uliege.be"
SSLType IMAPS
AuthMechs LOGIN
</pre>
</div>
<div class="org-src-container">
<pre class="src src-conf">IMAPStore ulg-remote
Account ulg
MaildirStore ulg-local
Path ~/.mail/ulg/
Inbox ~/.mail/ulg/Inbox
Channel ulg-Home
Master :ulg-remote:"Inbox"
Slave :ulg-local:Inbox
Channel ulg-Drafts
Master :ulg-remote:"Drafts"
Slave :ulg-local:Drafts
Channel ulg-Archive
Master :ulg-remote:"Archive"
Slave :ulg-local:Archive
Channel ulg-Sent
Master :ulg-remote:"Sent"
Slave :ulg-local:Sent
Channel ulg-Trash
Master :ulg-remote:"Trash"
Slave :ulg-local:Trash
</pre>
</div>
<div class="org-src-container">
<pre class="src src-conf">Channel ulg
Master :ulg-remote:
Slave :ulg-local:
</pre>
</div>
<p>
For doing a quick sync of just the INBOX with `mbsync ulg-download`.
</p>
<div class="org-src-container">
<pre class="src src-conf">Channel ulg-download
Master :ulg-remote:"Inbox"
Slave :ulg-local:Inbox
Create Slave
Expunge Slave
Sync Pull
</pre>
</div>
</div>
</div>
<div id="outline-container-orgb0ed5cf" class="outline-3">
<h3 id="orgb0ed5cf">ULG Personal Account</h3>
<div class="outline-text-3" id="text-orgb0ed5cf">
<div class="org-src-container">
<pre class="src src-conf">IMAPAccount uliege
Host mail.ulg.ac.be
User tdehaeze@uliege.be
PassCmd "pass email/tdehaeze@uliege.be"
SSLType IMAPS
AuthMechs LOGIN
</pre>
</div>
<div class="org-src-container">
<pre class="src src-conf">IMAPStore uliege-remote
Account uliege
MaildirStore uliege-local
Path ~/.mail/uliege/
Inbox ~/.mail/uliege/Inbox
Channel uliege-Home
Master :uliege-remote:"Inbox"
Slave :uliege-local:Inbox
Channel uliege-Drafts
Master :uliege-remote:"Drafts"
Slave :uliege-local:Drafts
Channel uliege-Archive
Master :uliege-remote:"Archive"
Slave :uliege-local:Archive
Channel uliege-Sent
Master :uliege-remote:"Sent"
Slave :uliege-local:Sent
Channel uliege-Trash
Master :uliege-remote:"Trash"
Slave :uliege-local:Trash
</pre>
</div>
<div class="org-src-container">
<pre class="src src-conf">Channel uliege
Master :uliege-remote:
Slave :uliege-local:
</pre>
</div>
<p>
For doing a quick sync of just the INBOX with `mbsync uliege-download`.
</p>
<div class="org-src-container">
<pre class="src src-conf">Channel uliege-download
Master :uliege-remote:"Inbox"
Slave :uliege-local:Inbox
Create Slave
Expunge Slave
Sync Pull
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-org672ae70" class="outline-2">
<h2 id="org672ae70">Send Mails - Msmtp</h2>
<div class="outline-text-2" id="text-org672ae70">
<p>
<a href="https://marlam.de/msmtp/">https://marlam.de/msmtp/</a>
</p>
</div>
<div id="outline-container-org9620340" class="outline-3">
<h3 id="org9620340">Defaults</h3>
<div class="outline-text-3" id="text-org9620340">
<div class="org-src-container">
<pre class="src src-conf">defaults
auth on
tls on
tls_certcheck off
</pre>
</div>
</div>
</div>
<div id="outline-container-org2778afa" class="outline-3">
<h3 id="org2778afa">Gmail Account</h3>
<div class="outline-text-3" id="text-org2778afa">
<div class="org-src-container">
<pre class="src src-conf">account gmail
host smtp.gmail.com
port 587
protocol smtp
from dehaeze.thomas@gmail.com
user dehaeze.thomas@gmail.com
passwordeval "pass email/dehaeze.thomas@gmail.com"
</pre>
</div>
</div>
</div>
<div id="outline-container-orgcef72ee" class="outline-3">
<h3 id="orgcef72ee">ESRF Account</h3>
<div class="outline-text-3" id="text-orgcef72ee">
<div class="org-src-container">
<pre class="src src-conf">account esrf
host smtps.esrf.fr
port 465
protocol smtp
from thomas.dehaeze@esrf.fr
user dehaeze
tls_starttls off
passwordeval "pass email/thomas.dehaeze@esrf.fr"
</pre>
</div>
</div>
</div>
<div id="outline-container-org0bb0cef" class="outline-3">
<h3 id="org0bb0cef">ULG Account</h3>
<div class="outline-text-3" id="text-org0bb0cef">
<div class="org-src-container">
<pre class="src src-conf">account ulg
host smtp.ulg.ac.be
port 587
protocol smtp
from thomas.dehaeze@doct.uliege.be
user s177313
tls_starttls on
passwordeval "pass email/thomas.dehaeze@doct.uliege.be"
</pre>
</div>
</div>
</div>
<div id="outline-container-org06e99f4" class="outline-3">
<h3 id="org06e99f4">ULIEGE Account</h3>
<div class="outline-text-3" id="text-org06e99f4">
<div class="org-src-container">
<pre class="src src-conf">account uliege
host smtp.ulg.ac.be
port 587
protocol smtp
from tdehaeze@uliege.be
user u231244
tls_starttls on
passwordeval "pass email/tdehaeze@uliege.be"
</pre>
</div>
</div>
</div>
<div id="outline-container-org7b20d0c" class="outline-3">
<h3 id="org7b20d0c">Default Account</h3>
<div class="outline-text-3" id="text-org7b20d0c">
<div class="org-src-container">
<pre class="src src-conf">account default : gmail
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-org8e85c4d" class="outline-2">
<h2 id="org8e85c4d">Mail Indexer - Mu</h2>
<div class="outline-text-2" id="text-org8e85c4d">
<p>
<code>Mu</code> (<a href="https://github.com/djcb/mu">github</a>) it used as a &ldquo;maildir indexer/searcher&rdquo;.
Useful commands are described in the <a href="http://www.djcbsoftware.nl/code/mu/cheatsheet.html">Cheat-sheet</a>.
</p>
<p>
For instance, to find mails with <code>pdf</code> attachments:
</p>
<div class="org-src-container">
<pre class="src src-bash">mu find 'mime:application/pdf'
</pre>
</div>
</div>
</div>
<div id="outline-container-orgc7467fd" class="outline-2">
<h2 id="orgc7467fd">Mail Client - NeoMutt</h2>
<div class="outline-text-2" id="text-orgc7467fd">
<p>
<a href="https://neomutt.org/">https://neomutt.org/</a>
</p>
<p>
Documentation:
</p>
<div class="org-src-container">
<pre class="src src-bash">man neomutt
man neomuttrc
</pre>
</div>
</div>
<div id="outline-container-org8133ca9" class="outline-3">
<h3 id="org8133ca9">Bindings</h3>
<div class="outline-text-3" id="text-org8133ca9">
</div>
<div id="outline-container-org12a205c" class="outline-4">
<h4 id="org12a205c">Unding all the key bindings</h4>
<div class="outline-text-4" id="text-org12a205c">
<div class="org-src-container">
<pre class="src src-conf">bind generic,pager,editor,index a noop
bind generic,pager,editor,index b noop
bind generic,pager,editor,index c noop
bind generic,pager,editor,index d noop
bind generic,pager,editor,index e noop
bind generic,pager,editor,index f noop
bind generic,pager,editor,index g noop
bind generic,pager,editor,index h noop
bind generic,pager,editor,index i noop
bind generic,pager,editor,index j noop
bind generic,pager,editor,index k noop
bind generic,pager,editor,index l noop
bind generic,pager,editor,index m noop
bind generic,pager,editor,index n noop
bind generic,pager,editor,index o noop
bind generic,pager,editor,index p noop
bind generic,pager,editor,index q noop
bind generic,pager,editor,index r noop
bind generic,pager,editor,index s noop
bind generic,pager,editor,index t noop
bind generic,pager,editor,index u noop
bind generic,pager,editor,index v noop
bind generic,pager,editor,index w noop
bind generic,pager,editor,index x noop
bind generic,pager,editor,index y noop
bind generic,pager,editor,index z noop
bind generic,pager,editor,index A noop
bind generic,pager,editor,index B noop
bind generic,pager,editor,index C noop
bind generic,pager,editor,index D noop
bind generic,pager,editor,index E noop
bind generic,pager,editor,index F noop
bind generic,pager,editor,index G noop
bind generic,pager,editor,index H noop
bind generic,pager,editor,index I noop
bind generic,pager,editor,index J noop
bind generic,pager,editor,index K noop
bind generic,pager,editor,index L noop
bind generic,pager,editor,index M noop
bind generic,pager,editor,index N noop
bind generic,pager,editor,index O noop
bind generic,pager,editor,index P noop
bind generic,pager,editor,index Q noop
bind generic,pager,editor,index R noop
bind generic,pager,editor,index S noop
bind generic,pager,editor,index T noop
bind generic,pager,editor,index U noop
bind generic,pager,editor,index V noop
bind generic,pager,editor,index W noop
bind generic,pager,editor,index X noop
bind generic,pager,editor,index Y noop
bind generic,pager,editor,index Z noop
bind generic,pager,editor,index &lt;Tab&gt; noop
bind generic,pager,editor,index &lt;Space&gt; noop
bind generic,pager,editor,index &lt;PageUp&gt; noop
bind generic,pager,editor,index &lt;PageDown&gt; noop
bind generic,pager,editor,index &lt;Home&gt; noop
bind generic,pager,editor,index &lt;End&gt; noop
bind generic,pager,editor,index &lt;Insert&gt; noop
bind generic,pager,editor,index &lt;Delete&gt; noop
bind generic,pager,editor,index &lt;Up&gt; noop
bind generic,pager,editor,index &lt;Down&gt; noop
bind generic,pager,editor,index &lt;Left&gt; noop
bind generic,pager,editor,index &lt;Right&gt; noop
bind generic,pager,editor,index &lt;Enter&gt; noop
bind generic,pager,editor,index &lt;Return&gt; noop
bind generic,pager,editor,index | noop
bind generic,pager,editor,index 1 noop
bind generic,pager,editor,index 2 noop
bind generic,pager,editor,index 3 noop
bind generic,pager,editor,index 4 noop
bind generic,pager,editor,index 5 noop
bind generic,pager,editor,index 6 noop
bind generic,pager,editor,index 7 noop
bind generic,pager,editor,index 8 noop
bind generic,pager,editor,index 9 noop
bind generic,pager,editor,index 0 noop
bind generic,pager,editor,index ! noop
bind generic,pager,editor,index @ noop
bind generic,pager,editor,index $ noop
bind generic,pager,editor,index % noop
bind generic,pager,editor,index ^ noop
bind generic,pager,editor,index &amp; noop
bind generic,pager,editor,index * noop
bind generic,pager,editor,index ( noop
bind generic,pager,editor,index ) noop
bind generic,pager,editor,index \Ca noop
bind generic,pager,editor,index \Cb noop
bind generic,pager,editor,index \Cc noop
bind generic,pager,editor,index \Cd noop
bind generic,pager,editor,index \Ce noop
bind generic,pager,editor,index \Cf noop
bind generic,pager,editor,index \Cg noop
bind generic,pager,editor,index \Ch noop
bind generic,pager,editor,index \Ci noop
bind generic,pager,editor,index \Cj noop
bind generic,pager,editor,index \Ck noop
bind generic,pager,editor,index \Cl noop
bind generic,pager,editor,index \Cm noop
bind generic,pager,editor,index \Cn noop
bind generic,pager,editor,index \Co noop
bind generic,pager,editor,index \Cp noop
bind generic,pager,editor,index \Cq noop
bind generic,pager,editor,index \Cr noop
bind generic,pager,editor,index \Cs noop
bind generic,pager,editor,index \Ct noop
bind generic,pager,editor,index \Cu noop
bind generic,pager,editor,index \Cv noop
bind generic,pager,editor,index \Cw noop
bind generic,pager,editor,index \Cx noop
bind generic,pager,editor,index \Cy noop
bind generic,pager,editor,index \Cz noop
bind generic,pager,editor,index \CA noop
bind generic,pager,editor,index \CB noop
bind generic,pager,editor,index \CC noop
bind generic,pager,editor,index \CD noop
bind generic,pager,editor,index \CE noop
bind generic,pager,editor,index \CF noop
bind generic,pager,editor,index \CG noop
bind generic,pager,editor,index \CH noop
bind generic,pager,editor,index \CI noop
bind generic,pager,editor,index \CJ noop
bind generic,pager,editor,index \CK noop
bind generic,pager,editor,index \CL noop
bind generic,pager,editor,index \CM noop
bind generic,pager,editor,index \CN noop
bind generic,pager,editor,index \CO noop
bind generic,pager,editor,index \CP noop
bind generic,pager,editor,index \CQ noop
bind generic,pager,editor,index \CR noop
bind generic,pager,editor,index \CS noop
bind generic,pager,editor,index \CT noop
bind generic,pager,editor,index \CU noop
bind generic,pager,editor,index \CV noop
bind generic,pager,editor,index \CW noop
bind generic,pager,editor,index \CX noop
bind generic,pager,editor,index \CY noop
bind generic,pager,editor,index \CZ noop
bind generic,pager,editor,index \C&lt;Tab&gt; noop
bind generic,pager,editor,index \C&lt;Space&gt; noop
bind generic,pager,editor,index \C&lt;PageUp&gt; noop
bind generic,pager,editor,index \C&lt;PageDown&gt; noop
bind generic,pager,editor,index \C&lt;Home&gt; noop
bind generic,pager,editor,index \C&lt;End&gt; noop
bind generic,pager,editor,index \C&lt;Insert&gt; noop
bind generic,pager,editor,index \C&lt;Delete&gt; noop
bind generic,pager,editor,index \C&lt;Up&gt; noop
bind generic,pager,editor,index \C&lt;Down&gt; noop
bind generic,pager,editor,index \C&lt;Left&gt; noop
bind generic,pager,editor,index \C&lt;Right&gt; noop
bind generic,pager,editor,index \C&lt;Enter&gt; noop
bind generic,pager,editor,index \C&lt;Return&gt; noop
bind generic,pager,editor,index \C1 noop
bind generic,pager,editor,index \C2 noop
bind generic,pager,editor,index \C3 noop
bind generic,pager,editor,index \C4 noop
bind generic,pager,editor,index \C5 noop
bind generic,pager,editor,index \C6 noop
bind generic,pager,editor,index \C7 noop
bind generic,pager,editor,index \C8 noop
bind generic,pager,editor,index \C9 noop
bind generic,pager,editor,index \C0 noop
bind generic,pager,editor,index \C! noop
bind generic,pager,editor,index \C$ noop
bind generic,pager,editor,index \C% noop
bind generic,pager,editor,index \C^ noop
bind generic,pager,editor,index \C&amp; noop
bind generic,pager,editor,index \C* noop
bind generic,pager,editor,index \C( noop
bind generic,pager,editor,index \C) noop
bind generic,pager,editor,index &lt;Esc&gt;a noop
bind generic,pager,editor,index &lt;Esc&gt;b noop
bind generic,pager,editor,index &lt;Esc&gt;c noop
bind generic,pager,editor,index &lt;Esc&gt;d noop
bind generic,pager,editor,index &lt;Esc&gt;e noop
bind generic,pager,editor,index &lt;Esc&gt;f noop
bind generic,pager,editor,index &lt;Esc&gt;g noop
bind generic,pager,editor,index &lt;Esc&gt;h noop
bind generic,pager,editor,index &lt;Esc&gt;i noop
bind generic,pager,editor,index &lt;Esc&gt;j noop
bind generic,pager,editor,index &lt;Esc&gt;k noop
bind generic,pager,editor,index &lt;Esc&gt;l noop
bind generic,pager,editor,index &lt;Esc&gt;m noop
bind generic,pager,editor,index &lt;Esc&gt;n noop
bind generic,pager,editor,index &lt;Esc&gt;o noop
bind generic,pager,editor,index &lt;Esc&gt;p noop
bind generic,pager,editor,index &lt;Esc&gt;q noop
bind generic,pager,editor,index &lt;Esc&gt;r noop
bind generic,pager,editor,index &lt;Esc&gt;s noop
bind generic,pager,editor,index &lt;Esc&gt;t noop
bind generic,pager,editor,index &lt;Esc&gt;u noop
bind generic,pager,editor,index &lt;Esc&gt;v noop
bind generic,pager,editor,index &lt;Esc&gt;w noop
bind generic,pager,editor,index &lt;Esc&gt;x noop
bind generic,pager,editor,index &lt;Esc&gt;y noop
bind generic,pager,editor,index &lt;Esc&gt;z noop
bind generic,pager,editor,index &lt;Esc&gt;A noop
bind generic,pager,editor,index &lt;Esc&gt;B noop
bind generic,pager,editor,index &lt;Esc&gt;C noop
bind generic,pager,editor,index &lt;Esc&gt;D noop
bind generic,pager,editor,index &lt;Esc&gt;E noop
bind generic,pager,editor,index &lt;Esc&gt;F noop
bind generic,pager,editor,index &lt;Esc&gt;G noop
bind generic,pager,editor,index &lt;Esc&gt;H noop
bind generic,pager,editor,index &lt;Esc&gt;I noop
bind generic,pager,editor,index &lt;Esc&gt;J noop
bind generic,pager,editor,index &lt;Esc&gt;K noop
bind generic,pager,editor,index &lt;Esc&gt;L noop
bind generic,pager,editor,index &lt;Esc&gt;M noop
bind generic,pager,editor,index &lt;Esc&gt;N noop
bind generic,pager,editor,index &lt;Esc&gt;O noop
bind generic,pager,editor,index &lt;Esc&gt;P noop
bind generic,pager,editor,index &lt;Esc&gt;Q noop
bind generic,pager,editor,index &lt;Esc&gt;R noop
bind generic,pager,editor,index &lt;Esc&gt;S noop
bind generic,pager,editor,index &lt;Esc&gt;T noop
bind generic,pager,editor,index &lt;Esc&gt;U noop
bind generic,pager,editor,index &lt;Esc&gt;V noop
bind generic,pager,editor,index &lt;Esc&gt;W noop
bind generic,pager,editor,index &lt;Esc&gt;X noop
bind generic,pager,editor,index &lt;Esc&gt;Y noop
bind generic,pager,editor,index &lt;Esc&gt;Z noop
bind generic,pager,editor,index &lt;Esc&gt;&lt;Tab&gt; noop
bind generic,pager,editor,index &lt;Esc&gt;&lt;Space&gt; noop
bind generic,pager,editor,index &lt;Esc&gt;&lt;PageUp&gt; noop
bind generic,pager,editor,index &lt;Esc&gt;&lt;PageDown&gt; noop
bind generic,pager,editor,index &lt;Esc&gt;&lt;Home&gt; noop
bind generic,pager,editor,index &lt;Esc&gt;&lt;End&gt; noop
bind generic,pager,editor,index &lt;Esc&gt;&lt;Insert&gt; noop
bind generic,pager,editor,index &lt;Esc&gt;&lt;Delete&gt; noop
bind generic,pager,editor,index &lt;Esc&gt;&lt;Up&gt; noop
bind generic,pager,editor,index &lt;Esc&gt;&lt;Down&gt; noop
bind generic,pager,editor,index &lt;Esc&gt;&lt;Left&gt; noop
bind generic,pager,editor,index &lt;Esc&gt;&lt;Right&gt; noop
bind generic,pager,editor,index &lt;Esc&gt;&lt;Enter&gt; noop
bind generic,pager,editor,index &lt;Esc&gt;&lt;Return&gt; noop
bind generic,pager,editor,index &lt;Esc&gt;1 noop
bind generic,pager,editor,index &lt;Esc&gt;2 noop
bind generic,pager,editor,index &lt;Esc&gt;3 noop
bind generic,pager,editor,index &lt;Esc&gt;4 noop
bind generic,pager,editor,index &lt;Esc&gt;5 noop
bind generic,pager,editor,index &lt;Esc&gt;6 noop
bind generic,pager,editor,index &lt;Esc&gt;7 noop
bind generic,pager,editor,index &lt;Esc&gt;8 noop
bind generic,pager,editor,index &lt;Esc&gt;9 noop
bind generic,pager,editor,index &lt;Esc&gt;0 noop
bind generic,pager,editor,index &lt;Esc&gt;! noop
bind generic,pager,editor,index &lt;Esc&gt;@ noop
bind generic,pager,editor,index &lt;Esc&gt;$ noop
bind generic,pager,editor,index &lt;Esc&gt;% noop
bind generic,pager,editor,index &lt;Esc&gt;^ noop
bind generic,pager,editor,index &lt;Esc&gt;&amp; noop
bind generic,pager,editor,index &lt;Esc&gt;* noop
bind generic,pager,editor,index &lt;Esc&gt;( noop
bind generic,pager,editor,index &lt;Esc&gt;) noop
</pre>
</div>
</div>
</div>
<div id="outline-container-org33de0ba" class="outline-4">
<h4 id="org33de0ba">Quit Neomutt</h4>
<div class="outline-text-4" id="text-org33de0ba">
<div class="org-src-container">
<pre class="src src-conf">bind index,pager,compose Q exit
macro index q "&lt;shell-escape&gt;if [ $TMUX ]; then tmux detach; fi&lt;enter&gt;"
</pre>
</div>
</div>
</div>
<div id="outline-container-org6d1494c" class="outline-4">
<h4 id="org6d1494c">Generic</h4>
<div class="outline-text-4" id="text-org6d1494c">
<div class="org-src-container">
<pre class="src src-conf">bind generic Q exit
bind generic &lt;Return&gt; select-entry
bind generic l select-entry
bind generic,index k previous-entry
bind generic,index j next-entry
bind generic,index 0 first-entry
bind generic,index $ last-entry
bind generic,index \031 previous-entry # Mouse wheel
bind generic,index \005 next-entry # Mouse wheel
bind generic,index gg first-entry
bind generic,index G last-entry
bind generic,index,pager \Cu half-up
bind generic,index,pager \Cd half-down
bind generic,index,pager \Ce next-line
bind generic,index,pager \Cy previous-line
</pre>
</div>
</div>
</div>
<div id="outline-container-org39630e2" class="outline-4">
<h4 id="org39630e2">Index and Pager</h4>
<div class="outline-text-4" id="text-org39630e2">
<div class="org-src-container">
<pre class="src src-conf">bind pager k previous-line
bind pager j next-line
bind index &lt;space&gt; collapse-thread
bind index,pager K previous-entry
bind index,pager J next-entry
bind index l display-message
bind index &lt;Return&gt; display-message
bind pager l view-attachments
bind pager gg top
bind pager 0 top
bind pager G bottom
bind pager $ bottom
macro index h "&lt;change-folder&gt;?" "Go back to the list of mailboxes"
bind pager h exit
bind pager q exit
macro index c "&lt;change-folder&gt;?&lt;toggle-mailboxes&gt;" "change folder"
bind index,pager u undelete-message
bind index,pager P print-message
# Compose a new email (not a reply) to the sender
bind index,pager @ compose-to-sender
# Marl All message as read
macro index \Cr \
"&lt;tag-pattern&gt;~N&lt;enter&gt;&lt;tag-prefix&gt;&lt;clear-flag&gt;N&lt;untag-pattern&gt;.&lt;enter&gt;" \
"mark all new as read"
</pre>
</div>
<div class="org-src-container">
<pre class="src src-conf">bind index za collapse-thread
bind index zA collapse-all # Missing :folddisable/foldenable
</pre>
</div>
<p>
Write/Reply/Forward mail
</p>
<div class="org-src-container">
<pre class="src src-conf">bind index,pager p recall-message
bind index,pager m mail
bind index,pager M resend-message
bind index,pager r reply
bind index,pager R group-reply
bind index,pager b bounce-message
bind index,pager f forward-message
</pre>
</div>
<p>
Sync Mailbox
</p>
<div class="org-src-container">
<pre class="src src-conf">bind index,pager s sync-mailbox
</pre>
</div>
<p>
Sync email
</p>
<div class="org-src-container">
<pre class="src src-conf">macro index,pager o "&lt;shell-escape&gt;$HOME/.config/neomutt/bin/get_new_mail.sh&lt;enter&gt;"
macro index,pager O "&lt;shell-escape&gt;$HOME/.config/neomutt/bin/get_new_mail.sh -a&lt;enter&gt;"
</pre>
</div>
<p>
Make quick html view macro
</p>
<div class="org-src-container">
<pre class="src src-conf">macro index,pager H "&lt;view-attachments&gt;&lt;search&gt;html&lt;enter&gt;&lt;view-mailcap&gt;&lt;exit&gt;"
</pre>
</div>
<p>
Open mail with Vim
</p>
<div class="org-src-container">
<pre class="src src-conf">macro index,pager V "&lt;view-attachments&gt;&lt;search&gt;plain&lt;enter&gt;&lt;view-mailcap&gt;&lt;exit&gt;"
</pre>
</div>
<div class="org-src-container">
<pre class="src src-conf"># bind index,pager U toggle-new
</pre>
</div>
<p>
Labels
</p>
<div class="org-src-container">
<pre class="src src-conf">bind index,pager y edit-label
bind index,pager Y modify-labels
</pre>
</div>
</div>
</div>
<div id="outline-container-orgc73598b" class="outline-4">
<h4 id="orgc73598b">Limit</h4>
<div class="outline-text-4" id="text-orgc73598b">
<div class="org-src-container">
<pre class="src src-conf">bind index L limit
macro index a &lt;limit&gt;all&lt;enter&gt;
</pre>
</div>
</div>
</div>
<div id="outline-container-orge5e6fdf" class="outline-4">
<h4 id="orge5e6fdf">Search</h4>
<div class="outline-text-4" id="text-orge5e6fdf">
<div class="org-src-container">
<pre class="src src-conf">bind generic,index,pager / search
bind index,pager n search-next
bind index,pager N search-opposite
</pre>
</div>
</div>
</div>
<div id="outline-container-org2a4b061" class="outline-4">
<h4 id="org2a4b061">Attachments</h4>
<div class="outline-text-4" id="text-org2a4b061">
<div class="org-src-container">
<pre class="src src-conf">bind attach l view-attach
bind attach h exit
bind attach q exit
bind attach &lt;return&gt; view-mailcap
macro attach W &lt;save-entry&gt;&lt;kill-line&gt;~/Downloads/&lt;enter&gt;y "Save entry"
</pre>
</div>
</div>
</div>
<div id="outline-container-org6b5b778" class="outline-4">
<h4 id="org6b5b778">Compose</h4>
<div class="outline-text-4" id="text-org6b5b778">
<div class="org-src-container">
<pre class="src src-conf">bind compose p postpone-message
bind compose R rename-attachment
bind compose a attach-file
</pre>
</div>
<p>
Open another instance of neomutt in readonly mode while composing
</p>
<div class="org-src-container">
<pre class="src src-conf">macro compose M "&lt;shell-escape&gt;$TERMINAL -e \"neomutt -R\"&lt;enter&gt;"
</pre>
</div>
<p>
Attach multiple files using ranger
</p>
<div class="org-src-container">
<pre class="src src-conf">macro compose A "&lt;shell-escape&gt;bash $HOME/.config/neomutt/bin/rangerpick&lt;enter&gt;&lt;enter-command&gt;source /tmp/rangerpick&lt;enter&gt;&lt;shell-escape&gt;bash $HOME/.config/neomutt/bin/rangerpick clean&lt;enter&gt;" "Attach with Ranger"
</pre>
</div>
</div>
<div id="outline-container-org7848e3c" class="outline-5">
<h5 id="org7848e3c">Attach with Ranger Script</h5>
<div class="outline-text-5" id="text-org7848e3c">
<div class="org-src-container">
<pre class="src src-bash">tmpfile=/tmp/rangerpick
if [ -z "$1" ]; then
ranger --choosefiles $tmpfile &amp;&amp; sed -i 's/\s/\\ /g' $tmpfile &amp;&amp; echo "$(awk 'BEGIN {printf "%s", "push "} {printf "%s", "&lt;attach-file&gt;"$0"&lt;enter&gt;"}' $tmpfile)" &gt; $tmpfile
elif [ $1 == "clean" ]; then
ls $tmpfile
fi
</pre>
</div>
</div>
</div>
<div id="outline-container-org147e13d" class="outline-5">
<h5 id="org147e13d">Send HTML mails using Markdown</h5>
<div class="outline-text-5" id="text-org147e13d">
<p>
Write html emails using markdown
</p>
<div class="org-src-container">
<pre class="src src-conf"># macro compose M "F pandoc -s -f markdown -t html \ny^T^Utext/html; charset=us-ascii\n"
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-orga459fea" class="outline-4">
<h4 id="orga459fea">Browser</h4>
<div class="outline-text-4" id="text-orga459fea">
<div class="org-src-container">
<pre class="src src-conf">bind browser l select-entry
macro browser h "&lt;top-page&gt;&lt;select-entry&gt;"
bind browser t tag-entry
bind browser q exit
</pre>
</div>
</div>
</div>
<div id="outline-container-orgf5e04db" class="outline-4">
<h4 id="orgf5e04db">Generic</h4>
<div class="outline-text-4" id="text-orgf5e04db">
<p>
Enter Command
</p>
<div class="org-src-container">
<pre class="src src-conf">bind generic,index,pager : enter-command
</pre>
</div>
</div>
</div>
<div id="outline-container-org81e57df" class="outline-4">
<h4 id="org81e57df">Copy and move mails</h4>
<div class="outline-text-4" id="text-org81e57df">
<div class="org-src-container">
<pre class="src src-conf">macro index C "&lt;copy-message&gt;?&lt;toggle-mailboxes&gt;" "copy a message to a mailbox"
macro index M "&lt;save-message&gt;?&lt;toggle-mailboxes&gt;" "move a message to a mailbox"
</pre>
</div>
</div>
</div>
<div id="outline-container-org4e69538" class="outline-4">
<h4 id="org4e69538">Sidebar</h4>
<div class="outline-text-4" id="text-org4e69538">
<div class="org-src-container">
<pre class="src src-conf">bind index,pager \Cp sidebar-prev
bind index,pager \Cn sidebar-next
bind index,pager \Co sidebar-open
bind index,pager \Ch sidebar-toggle-visible
</pre>
</div>
</div>
</div>
<div id="outline-container-orgcbcfabe" class="outline-4">
<h4 id="orgcbcfabe">Reload Configuration</h4>
<div class="outline-text-4" id="text-orgcbcfabe">
<div class="org-src-container">
<pre class="src src-conf">macro generic,index,pager,editor ,&lt;Space&gt; ":source ~/.config/neomutt/neomuttrc\n" "Reload mutt's configuration file"
</pre>
</div>
</div>
</div>
<div id="outline-container-org62625e7" class="outline-4">
<h4 id="org62625e7">urlview - Open URL in emails</h4>
<div class="outline-text-4" id="text-org62625e7">
<p>
Use <code>urlview</code> to extract urls from the mail.
</p>
<div class="org-src-container">
<pre class="src src-conf">macro attach,compose,index,pager \cw "\
:set my_tmp_pipe_decode=\$pipe_decode\n\
:set pipe_decode\n\
&lt;pipe-message&gt;urlview\n\
:set pipe_decode=\$my_tmp_pipe_decode\n\
:unset my_tmp_pipe_decode\n" \
'call urlview to extract URLs out of a message'
</pre>
</div>
</div>
</div>
<div id="outline-container-org2c7bcf7" class="outline-4">
<h4 id="org2c7bcf7">Searching using Mu</h4>
<div class="outline-text-4" id="text-org2c7bcf7">
<div class="org-src-container">
<pre class="src src-conf">macro index,pager \Cf "&lt;shell-escape&gt;mu find --clearlinks --format=links --linksdir=~/.mail/search " \
"mu find"
macro index,pager gf "&lt;change-folder-readonly&gt;~/.mail/search&lt;enter&gt;" \
"mu find results"
</pre>
</div>
</div>
</div>
<div id="outline-container-org0979e59" class="outline-4">
<h4 id="org0979e59">Link to Orgmode</h4>
<div class="outline-text-4" id="text-org0979e59">
<p>
<a href="https://www.donarmstrong.com/posts/org_mode_mutt_capture/">https://www.donarmstrong.com/posts/org_mode_mutt_capture/</a>
<a href="https://upsilon.cc/~zack/blog/posts/2010/02/integrating_Mutt_with_Org-mode/">https://upsilon.cc/~zack/blog/posts/2010/02/integrating_Mutt_with_Org-mode/</a>
</p>
<div class="org-src-container">
<pre class="src src-conf">macro index,pager S "&lt;pipe-message&gt;$HOME/.config/neomutt/bin/mutt-save-org-link.py\n"
</pre>
</div>
</div>
<div id="outline-container-orgb30bf6d" class="outline-5">
<h5 id="orgb30bf6d">Link mail to orgmode - Script</h5>
<div class="outline-text-5" id="text-orgb30bf6d">
<div class="org-src-container">
<pre class="src src-python">import sys
import email
import subprocess
import urllib.parse
# Parse the email from standard input
message_bytes = sys.stdin.buffer.read()
message = email.message_from_bytes(message_bytes)
# Grab the relevant message headers
message_id = urllib.parse.quote(message['message-id'].strip()[1:-1])
subject = message['subject'].replace('[', '{').replace(']', '}').replace('\n', ' ')
subject = (subject[:75] + '..') if len(subject) &gt; 75 else subject
# Ask emacsclient to save a link to the message
p = subprocess.Popen([
'emacsclient',
f'org-protocol://capture?template=pm&amp;url={message_id}&amp;title={subject}'
])
p.wait()
</pre>
</div>
</div>
</div>
</div>
</div>
<div id="outline-container-org89ca168" class="outline-3">
<h3 id="org89ca168">Colors</h3>
<div class="outline-text-3" id="text-org89ca168">
</div>
<div id="outline-container-org4a8185b" class="outline-4">
<h4 id="org4a8185b">Basic colors</h4>
<div class="outline-text-4" id="text-org4a8185b">
<div class="org-src-container">
<pre class="src src-conf">color normal color021 color000
color error color021 color000
color tilde color021 color000
color message color021 color000
color markers color021 color000
color attachment color021 color000
color search color000 color003
color status color016 color000
color indicator color000 color021
color tree color021 color000
color progress color000 color021
# basic monocolor screen
mono bold bold
mono underline underline
mono indicator reverse
mono error bold
</pre>
</div>
</div>
</div>
<div id="outline-container-org376f35d" class="outline-4">
<h4 id="org376f35d">Index</h4>
<div class="outline-text-4" id="text-org376f35d">
<div class="org-src-container">
<pre class="src src-conf">color index color021 color000 "~A" # All messages
color index brightcolor006 color000 "~N" # New messages
color index color020 color000 "~O" # Old messages
color index color020 color000 "~Q" # messages that have been replied to
color index color021 color000 "~R" # read messages
color index color006 color000 "~U" # unread messages
color index color021 color000 "~R~p!~F" # messages to me
color index brightcolor006 color000 "~N~p!~F" # new messages to me
color index brightcolor006 color000 "~U~p!~F" # unread messages to me
color index color005 color000 "~F" # flagged messages
color index color005 color000 "~F~p" # flagged messages to me
color index brightcolor006 color000 "~N~F" # new flagged messages
color index brightcolor006 color000 "~N~F~p" # new flagged messages to me
color index brightcolor006 color000 "~U~F~p" # new flagged messages to me
color index brightcolor000 color001 "~D" # deleted messages
color index brightcolor021 color019 "~v~(!~N)" # collapsed thread with no unread
color index brightcolor006 color019 "~v~(~N)" # collapsed thread with some unread
color index brightcolor006 color019 "~N~v~(~N)" # collapsed thread with unread parent
color index brightcolor005 color019 "~v~(~F)!~N" # collapsed thread with flagged, no unread
color index brightcolor006 color019 "~v~(~F~N)" # collapsed thread with some unread &amp; flagged
color index brightcolor006 color019 "~N~v~(~F~N)" # collapsed thread with unread parent &amp; flagged
color index brightcolor005 color019 "~N~v~(~F)" # collapsed thread with unread parent, no unread inside, but some flagged
color index brightcolor000 color001 "~v~(~D)" # thread with deleted (doesn't differentiate between all or partial)
</pre>
</div>
</div>
</div>
<div id="outline-container-org454024d" class="outline-4">
<h4 id="org454024d">Sidebar</h4>
<div class="outline-text-4" id="text-org454024d">
<div class="org-src-container">
<pre class="src src-conf">color sidebar_indicator color000 color021 # Mailbox is open
color sidebar_highlight color000 color003 # Mailbox is highlighted
color sidebar_new brightcolor006 color000 # Mailbox contains new mail
color sidebar_ordinary color021 color000 # Mailbox contains new mail
</pre>
</div>
</div>
</div>
<div id="outline-container-orge423775" class="outline-4">
<h4 id="orge423775">Message headers</h4>
<div class="outline-text-4" id="text-orge423775">
<div class="org-src-container">
<pre class="src src-conf">color hdrdefault color006 color000
color header brightcolor006 color000 "^(From)"
color header brightcolor004 color000 "^(Subject)"
</pre>
</div>
</div>
</div>
<div id="outline-container-orgf379bbc" class="outline-4">
<h4 id="orgf379bbc">Attachments</h4>
<div class="outline-text-4" id="text-orgf379bbc">
<div class="org-src-container">
<pre class="src src-conf"># Color if the attachment is autoviewed
color attach_headers brightgreen default "Autoview"
# Color only the brackets around the headers
color attach_headers brightyellow default "^\\[--"
color attach_headers brightyellow default "--]$"
# Color the mime type and the size
color attach_headers green default "Type: [a-z]+/[a-z0-9\-]+"
color attach_headers green default "Size: [0-9\.]+[KM]"
# Color GPGME signature checks
color attach_headers brightgreen default "Good signature from.*"
color attach_headers brightred default "Bad signature from.*"
color attach_headers brightred default "BAD signature from.*"
color attach_headers brightred default "Note: This key has expired!"
color attach_headers brightmagenta default "Problem signature from.*"
color attach_headers brightmagenta default "WARNING: This key is not certified with a trusted signature!"
color attach_headers brightmagenta default " There is no indication that the signature belongs to the owner."
color attach_headers brightmagenta default "can't handle these multiple signatures"
color attach_headers brightmagenta default "signature verification suppressed"
color attach_headers brightmagenta default "invalid node with packet of type"
</pre>
</div>
</div>
</div>
<div id="outline-container-orgb4d93d5" class="outline-4">
<h4 id="orgb4d93d5">Body</h4>
<div class="outline-text-4" id="text-orgb4d93d5">
<div class="org-src-container">
<pre class="src src-conf">color quoted color002 color000
color quoted1 color003 color000
color quoted2 color004 color000
color quoted3 color005 color000
color quoted4 color006 color000
color signature color021 color000
color bold brightcolor021 color000
color underline brightcolor021 color000
color normal color021 color000
</pre>
</div>
</div>
</div>
<div id="outline-container-org07b1c9d" class="outline-4">
<h4 id="org07b1c9d">PGP</h4>
<div class="outline-text-4" id="text-org07b1c9d">
<div class="org-src-container">
<pre class="src src-conf">color body color001 color000 "(BAD signature)"
color body color002 color000 "(Good signature)"
color body color002 color000 "^gpg: Good signature .*"
color body color002 color000 "^gpg: "
color body color002 color000 "^gpg: BAD signature from.*"
</pre>
</div>
</div>
</div>
<div id="outline-container-org4f061d9" class="outline-4">
<h4 id="org4f061d9">Urls</h4>
<div class="outline-text-4" id="text-org4f061d9">
<div class="org-src-container">
<pre class="src src-conf">color body color006 color000 "([a-z][a-z0-9+-]*://(((([a-z0-9_.!~*'();:&amp;=+$,-]|%[0-9a-f][0-9a-f])*@)?((([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?|[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+)(:[0-9]+)?)|([a-z0-9_.!~*'()$,;:@&amp;=+-]|%[0-9a-f][0-9a-f])+)(/([a-z0-9_.!~*'():@&amp;=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&amp;=+$,-]|%[0-9a-f][0-9a-f])*)*(/([a-z0-9_.!~*'():@&amp;=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&amp;=+$,-]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([a-z0-9_.!~*'();/?:@&amp;=+$,-]|%[0-9a-f][0-9a-f])*)?(#([a-z0-9_.!~*'();/?:@&amp;=+$,-]|%[0-9a-f][0-9a-f])*)?|(www|ftp)\\.(([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?(:[0-9]+)?(/([-a-z0-9_.!~*'():@&amp;=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&amp;=+$,]|%[0-9a-f][0-9a-f])*)*(/([-a-z0-9_.!~*'():@&amp;=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&amp;=+$,]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([-a-z0-9_.!~*'();/?:@&amp;=+$,]|%[0-9a-f][0-9a-f])*)?(#([-a-z0-9_.!~*'();/?:@&amp;=+$,]|%[0-9a-f][0-9a-f])*)?)[^].,:;!)? \t\r\n&lt;&gt;\"]"
</pre>
</div>
</div>
</div>
<div id="outline-container-org8b521b7" class="outline-4">
<h4 id="org8b521b7">Emails</h4>
<div class="outline-text-4" id="text-org8b521b7">
<div class="org-src-container">
<pre class="src src-conf">color body color006 color000 "((@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\]),)*@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\]):)?[0-9a-z_.+%$-]+@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\])"
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-org4840585" class="outline-3">
<h3 id="org4840585">Contacts with Mu</h3>
<div class="outline-text-3" id="text-org4840585">
<div class="org-src-container">
<pre class="src src-conf">set query_command="mu cfind '%s' -o mutt-ab"
bind editor &lt;Tab&gt; complete-query
</pre>
</div>
</div>
</div>
<div id="outline-container-orgdb26e44" class="outline-3">
<h3 id="orgdb26e44">Paths</h3>
<div class="outline-text-3" id="text-orgdb26e44">
<div class="org-src-container">
<pre class="src src-conf">set folder = ~/.mail # mail location
set alias_file = ~/.config/neomutt/alias # where to store aliases
set header_cache = ~/.config/neomutt/cache/headers # where to store headers
set message_cachedir = ~/.config/neomutt/cache/bodies # where to store bodies
set certificate_file = ~/.config/neomutt/certificates # where to store certs
set mailcap_path = ~/.config/neomutt/mailcap # entries for filetypes
set tmpdir = ~/.config/neomutt/temp # where to keep temp files
</pre>
</div>
</div>
</div>
<div id="outline-container-orgd324abe" class="outline-3">
<h3 id="orgd324abe">Print</h3>
<div class="outline-text-3" id="text-orgd324abe">
<p>
<a href="https://unix.stackexchange.com/questions/20456/pretty-print-mails-from-mutt">https://unix.stackexchange.com/questions/20456/pretty-print-mails-from-mutt</a>
</p>
<div class="org-src-container">
<pre class="src src-conf"># set print_command="/usr/bin/muttprint %s -p ctb110c1u"
</pre>
</div>
</div>
</div>
<div id="outline-container-orgf6c14ac" class="outline-3">
<h3 id="orgf6c14ac">Accounts</h3>
<div class="outline-text-3" id="text-orgf6c14ac">
<div class="org-src-container">
<pre class="src src-conf">set spoolfile = "+gmail/Inbox" # Default inbox
set realname = "Dehaeze Thomas"
set from = "dehaeze.thomas@gmail.com"
folder-hook gmail/* source ~/.config/neomutt/accounts/gmail
folder-hook esrf/* source ~/.config/neomutt/accounts/esrf
folder-hook ulg/* source ~/.config/neomutt/accounts/ulg
folder-hook uliege/* source ~/.config/neomutt/accounts/uliege
macro index,pager gl "&lt;change-folder&gt;+uliege/Inbox&lt;enter&gt;" "go to inbox"
macro index,pager gu "&lt;change-folder&gt;+ulg/Inbox&lt;enter&gt;" "go to inbox"
macro index,pager ge "&lt;change-folder&gt;+esrf/Inbox&lt;enter&gt;" "go to inbox"
macro index,pager gm "&lt;change-folder&gt;+gmail/Inbox&lt;enter&gt;" "go to inbox"
</pre>
</div>
</div>
<div id="outline-container-orgbd57e22" class="outline-4">
<h4 id="orgbd57e22">Gmail</h4>
<div class="outline-text-4" id="text-orgbd57e22">
</div>
<div id="outline-container-org647fde0" class="outline-5">
<h5 id="org647fde0">Configuration</h5>
<div class="outline-text-5" id="text-org647fde0">
<div class="org-src-container">
<pre class="src src-conf">set from = "dehaeze.thomas@gmail.com"
set sendmail = "msmtp -a gmail"
# Other special folders.
set mbox = "+gmail/Archive"
unset record # Don't copy send message to Sent folder: Gmail does that for us
set postponed = "+gmail/Drafts"
set signature = "~/.config/neomutt/accounts/gmail.signature"
macro index,pager d \
"&lt;save-message&gt;+gmail/Archive&lt;enter&gt;" \
"Move message to the Archive"
macro index,pager D \
"&lt;save-message&gt;+gmail/Trash&lt;enter&gt;" \
"Move message to the Trash"
</pre>
</div>
</div>
</div>
<div id="outline-container-orge0c1cfa" class="outline-5">
<h5 id="orge0c1cfa">Signature</h5>
<div class="outline-text-5" id="text-orge0c1cfa">
<div class="org-src-container">
<pre class="src src-conf">Thomas Dehaeze
</pre>
</div>
<p>
This empty code block is used to add a new line after signature
</p>
<div class="org-src-container">
<pre class="src src-conf">
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-orgc13752f" class="outline-4">
<h4 id="orgc13752f">ESRF</h4>
<div class="outline-text-4" id="text-orgc13752f">
</div>
<div id="outline-container-org07bf348" class="outline-5">
<h5 id="org07bf348">Configuration</h5>
<div class="outline-text-5" id="text-org07bf348">
<div class="org-src-container">
<pre class="src src-conf">set from = "thomas.dehaeze@esrf.fr"
set sendmail = "msmtp -a esrf"
# Other special folders.
set mbox = "+esrf/Archive"
set record = "+esrf/Sent"
set postponed = "+esrf/Drafts"
set signature = "~/.config/neomutt/accounts/esrf.signature"
macro index,pager d \
"&lt;save-message&gt;+esrf/Archive&lt;enter&gt;" \
"Move message to the Archive"
macro index,pager D \
"&lt;save-message&gt;+esrf/Trash&lt;enter&gt;" \
"Move message to the Trash"
</pre>
</div>
</div>
</div>
<div id="outline-container-orgf1f121b" class="outline-5">
<h5 id="orgf1f121b">Signature</h5>
<div class="outline-text-5" id="text-orgf1f121b">
<div class="org-src-container">
<pre class="src src-conf">Thomas Dehaeze
</pre>
</div>
<p>
This empty code block is used to add a new line after signature
</p>
<div class="org-src-container">
<pre class="src src-conf">
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-orgd5fd652" class="outline-4">
<h4 id="orgd5fd652">ULG</h4>
<div class="outline-text-4" id="text-orgd5fd652">
</div>
<div id="outline-container-orgc347679" class="outline-5">
<h5 id="orgc347679">Configuration</h5>
<div class="outline-text-5" id="text-orgc347679">
<div class="org-src-container">
<pre class="src src-conf">set from = "thomas.dehaeze@doct.uliege.be"
set sendmail = "msmtp -a ulg"
# Other special folders.
set mbox = "+ulg/Archive"
set record = "+ulg/Sent"
set postponed = "+ulg/Drafts"
set signature = "~/.config/neomutt/accounts/ulg.signature"
macro index,pager d \
"&lt;save-message&gt;+ulg/Archive&lt;enter&gt;" \
"Move message to the Archive"
macro index,pager D \
"&lt;save-message&gt;+ulg/Trash&lt;enter&gt;" \
"Move message to the Trash"
</pre>
</div>
</div>
</div>
<div id="outline-container-org8b11a57" class="outline-5">
<h5 id="org8b11a57">Signature</h5>
<div class="outline-text-5" id="text-org8b11a57">
<div class="org-src-container">
<pre class="src src-conf">Thomas Dehaeze
</pre>
</div>
<p>
This empty code block is used to add a new line after signature
</p>
<div class="org-src-container">
<pre class="src src-conf">
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-orgc6c55ac" class="outline-4">
<h4 id="orgc6c55ac">ULIEGE</h4>
<div class="outline-text-4" id="text-orgc6c55ac">
</div>
<div id="outline-container-org6c3bd8b" class="outline-5">
<h5 id="org6c3bd8b">Configuration</h5>
<div class="outline-text-5" id="text-org6c3bd8b">
<div class="org-src-container">
<pre class="src src-conf">set from = "tdehaeze@uliege.be"
set sendmail = "msmtp -a uliege"
# Other special folders.
set mbox = "+uliege/Archive"
set record = "+uliege/Sent"
set postponed = "+uliege/Drafts"
set signature = "~/.config/neomutt/accounts/uliege.signature"
macro index,pager d \
"&lt;save-message&gt;+uliege/Archive&lt;enter&gt;" \
"Move message to the Archive"
macro index,pager D \
"&lt;save-message&gt;+uliege/Trash&lt;enter&gt;" \
"Move message to the Trash"
</pre>
</div>
</div>
</div>
<div id="outline-container-org03da1a3" class="outline-5">
<h5 id="org03da1a3">Signature</h5>
<div class="outline-text-5" id="text-org03da1a3">
<div class="org-src-container">
<pre class="src src-conf">Thomas Dehaeze
</pre>
</div>
<p>
This empty code block is used to add a new line after signature
</p>
<div class="org-src-container">
<pre class="src src-conf">
</pre>
</div>
</div>
</div>
</div>
</div>
<div id="outline-container-orgc27a179" class="outline-3">
<h3 id="orgc27a179">Basic Options</h3>
<div class="outline-text-3" id="text-orgc27a179">
<div class="org-src-container">
<pre class="src src-conf">set wait_key = no # shut up, mutt
set mbox_type = Maildir # mailbox type
set help = no # No top bar
set timeout = 3 # idle time before scanning
set sleep_time = 0 # how long NeoMutt may wait after an error message
set mail_check = 0 # minimum time between scans
set delete # don't ask, just do
unset confirmappend # don't ask, just do!
set quit # don't ask, just do!!
set mark_old = no # read/new is good enough for me
set beep_new # bell on new mails
# set pipe_decode # strip headers and eval mimes when piping
set thorough_search # strip headers and eval mimes before searching
set send_charset="us-ascii:utf-8:iso-8859-1"
set sendmail_wait = 0 # no please don't silently fail, email is important
set use_from # respect the From: address the editor sends back
# Use Vim to compose email, with a few default options.
set editor = "nvim -c '/\\n--' -c ':noh' -c 'startinsert' -c ':Goyo'"
</pre>
</div>
</div>
</div>
<div id="outline-container-org27d7b40" class="outline-3">
<h3 id="org27d7b40">View Options</h3>
<div class="outline-text-3" id="text-org27d7b40">
</div>
<div id="outline-container-org0c24ff2" class="outline-4">
<h4 id="org0c24ff2">Status Bar</h4>
<div class="outline-text-4" id="text-org0c24ff2">
<div class="org-src-container">
<pre class="src src-conf">set status_on_top = no
set status_chars = " *%A"
set status_format = "───[ Folder: %f ]───[%r%m messages%?n? (%n new)?%?d? (%d to delete)?%?t? (%t tagged)? ]───%&gt;─%?p?( %p postponed )?───"
</pre>
</div>
</div>
</div>
<div id="outline-container-org8b55982" class="outline-4">
<h4 id="org8b55982">Index View Options</h4>
<div class="outline-text-4" id="text-org8b55982">
<div class="org-src-container">
<pre class="src src-conf">set date_format = "%d/%m/%y %H:%M"
set index_format = "[%Z] %D %-20.20F %s"
set sort = threads # like gmail
set sort_aux = reverse-last-date-received # like gmail
set uncollapse_jump # don't collapse on an unread message
set sort_re # thread based on regex
set reply_regexp = "^(([Rr][Ee]?(\[[0-9]+\])?: *)?(\[[^]]+\] *)?)*"
set folder_format = "%2C %t %N %8s %f"
</pre>
</div>
</div>
</div>
<div id="outline-container-orgb38054e" class="outline-4">
<h4 id="orgb38054e">Pager View Options</h4>
<div class="outline-text-4" id="text-orgb38054e">
<div class="org-src-container">
<pre class="src src-conf">set pager_index_lines = 10 # number of index lines to show
set pager_context = 3 # number of context lines to show
set pager_stop # don't go to next message automatically
set menu_scroll # scroll in menus
set tilde # show tildes like in vim
set markers = no # no ugly plus signs
set quote_regexp = "^( {0,4}[&gt;|:#%]| {0,4}[a-z0-9]+[&gt;|]+)+"
auto_view text/html # view html automatically
alternative_order text/plain text/enriched text/html # save html for last
</pre>
</div>
</div>
</div>
<div id="outline-container-org70d58be" class="outline-4">
<h4 id="org70d58be">Compose View Options</h4>
<div class="outline-text-4" id="text-org70d58be">
<div class="org-src-container">
<pre class="src src-conf">set envelope_from # which from?
set sig_dashes # dashes before sig
set sig_on_top # the signature is just below the response
set edit_headers # show headers when composing
set fast_reply # skip to compose when replying
set askcc # ask for CC:
set fcc_attach # save attachments with the body
set mime_forward = yes # forward attachments as part of body
set forward_format = "Fwd: %s" # format of subject when forwarding
set forward_decode # decode when forwarding
set attribution = "On %d, %n wrote:" # format of quoting header
set reply_to # reply to Reply to: field
set reverse_name # reply as whomever it was to
set include # include message in replies
set forward_quote # include message in forwards
</pre>
</div>
</div>
</div>
<div id="outline-container-orge1d1147" class="outline-4">
<h4 id="orge1d1147">Headers</h4>
<div class="outline-text-4" id="text-orge1d1147">
<div class="org-src-container">
<pre class="src src-conf">ignore * # ignore all headers
unignore from: to: cc: date: subject: # show only these
unhdr_order *
hdr_order from: to: cc: date: subject: # and in this order
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-orge686f6a" class="outline-3">
<h3 id="orge686f6a">Sidebar</h3>
<div class="outline-text-3" id="text-orge686f6a">
</div>
<div id="outline-container-org953ed4c" class="outline-4">
<h4 id="org953ed4c">General Config</h4>
<div class="outline-text-4" id="text-org953ed4c">
<div class="org-src-container">
<pre class="src src-conf"># Should the Sidebar be shown?
set sidebar_visible = yes
# How wide should the Sidebar be in screen columns?
# Note: Some characters, e.g. Chinese, take up two columns each.
set sidebar_width = 20
# Should the mailbox paths be abbreviated?
set sidebar_short_path = yes
# When abbreviating mailbox path names, use any of these characters as path
# separators. Only the part after the last separators will be shown.
# For file folders '/' is good. For IMAP folders, often '.' is useful.
set sidebar_delim_chars = '/.'
# If the mailbox path is abbreviated, should it be indented?
set sidebar_folder_indent = yes
# Indent mailbox paths with this string.
set sidebar_indent_string = ' '
# Make the Sidebar only display mailboxes that contain new, or flagged,
# mail.
set sidebar_new_mail_only = no
# Any mailboxes that are whitelisted will always be visible, even if the
# sidebar_new_mail_only option is enabled.
# sidebar_whitelist '/home/user/mailbox1'
# sidebar_whitelist '/home/user/mailbox2'
# When searching for mailboxes containing new mail, should the search wrap
# around when it reaches the end of the list?
set sidebar_next_new_wrap = no
# Show the Sidebar on the right-hand side of the screen
set sidebar_on_right = no
# The character to use as the divider between the Sidebar and the other Mutt
# panels.
# Note: Only the first character of this string is used.
set sidebar_divider_char = '│'
# Enable extended buffy mode to calculate total, new, and flagged
# message counts for each mailbox.
set mail_check_stats
# Display the Sidebar mailboxes using this format string.
# set sidebar_format = '%B %?N?(%N)?%* %S'
set sidebar_format = '%B %* %?N?[%N]?'
# Sort the mailboxes in the Sidebar using this method:
# count - total number of messages
# flagged - number of flagged messages
# new - number of new messages
# path - mailbox path
# unsorted - do not sort the mailboxes
set sidebar_sort_method = 'unsorted'
</pre>
</div>
</div>
</div>
<div id="outline-container-org61e4389" class="outline-4">
<h4 id="org61e4389">Mailboxes to show in the sidebar.</h4>
<div class="outline-text-4" id="text-org61e4389">
<div class="org-src-container">
<pre class="src src-conf">named-mailboxes "  Search" =search
named-mailboxes " GMAIL" =empty/gmail
named-mailboxes "  Inbox" =gmail/Inbox
named-mailboxes "  Sent" =gmail/Sent
named-mailboxes "  Drafts" =gmail/Drafts
named-mailboxes " ﮊ Archive" =gmail/Archive
named-mailboxes "  Trash" =gmail/Trash
named-mailboxes " ESRF" =empty/esrf
named-mailboxes "  Inbox" =esrf/Inbox
named-mailboxes "  Sent" =esrf/Sent
named-mailboxes "  Drafts" =esrf/Drafts
named-mailboxes " ﮊ Archive" =esrf/Archive
named-mailboxes "  Trash" =esrf/Trash
named-mailboxes " ULG" =empty/ulg
named-mailboxes "  Inbox" =ulg/Inbox
named-mailboxes "  Sent" =ulg/Sent
named-mailboxes "  Drafts" =ulg/Drafts
named-mailboxes " ﮊ Archive" =ulg/Archive
named-mailboxes "  Trash" =ulg/Trash
named-mailboxes " ULIEGE" =empty/uliege
named-mailboxes "  Inbox" =uliege/Inbox
named-mailboxes "  Sent" =uliege/Sent
named-mailboxes "  Drafts" =uliege/Drafts
named-mailboxes " ﮊ Archive" =uliege/Archive
named-mailboxes "  Trash" =uliege/Trash
</pre>
</div>
<div class="org-src-container">
<pre class="src src-conf">unset move
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-org337438a" class="outline-3">
<h3 id="org337438a">Attachments</h3>
<div class="outline-text-3" id="text-org337438a">
</div>
<div id="outline-container-org39c5999" class="outline-4">
<h4 id="org39c5999">Attachment View Options</h4>
<div class="outline-text-4" id="text-org39c5999">
<div class="org-src-container">
<pre class="src src-conf">set attach_format = "[%D %t] %2n [%-7.7m/%10.10M] %.40d %&gt; [%s] "
</pre>
</div>
</div>
</div>
<div id="outline-container-org7a51e1d" class="outline-4">
<h4 id="org7a51e1d">Open Attachment</h4>
<div class="outline-text-4" id="text-org7a51e1d">
<p>
Program to open is defined in the <code>mailcap</code> file.
</p>
<p>
A script <code>openfile.sh</code> is used to open files with the default application using <code>xdg-open</code>.
</p>
</div>
</div>
<div id="outline-container-org2107001" class="outline-4">
<h4 id="org2107001">Attach multiple files at once</h4>
<div class="outline-text-4" id="text-org2107001">
<p>
First, tag the files you want to send using <code>t</code>, then <code>;</code> to apply the action on
all tagged files and finally <code>&lt;enter&gt;</code> to add them all.
</p>
<p>
Of ranger can be used with the <code>A</code> keybinding.
</p>
</div>
</div>
<div id="outline-container-org5faf10e" class="outline-4">
<h4 id="org5faf10e">Forgotten Attachment</h4>
<div class="outline-text-4" id="text-org5faf10e">
<div class="org-src-container">
<pre class="src src-conf">set abort_noattach = ask-yes
set abort_noattach_regex = "\\&lt;(attach(|ed|ments?)|(attaché|attachés|attache|attachons|joint|jointe|joints|jointes|joins|joignons))\\&gt;"
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-orga483a0d" class="outline-3">
<h3 id="orga483a0d">Scripts and other config files</h3>
<div class="outline-text-3" id="text-orga483a0d">
</div>
<div id="outline-container-orge567f97" class="outline-4">
<h4 id="orge567f97">Sync Mail script</h4>
<div class="outline-text-4" id="text-orge567f97">
<div class="org-src-container">
<pre class="src src-bash">if [ $TMUX ]; then
tmux split -v -l 1 checkmail $1 &amp;&amp; tmux select-pane -U
else
checkmail $1
fi
</pre>
</div>
</div>
</div>
<div id="outline-container-org7f01f4d" class="outline-4">
<h4 id="org7f01f4d">Openfile Scripts</h4>
<div class="outline-text-4" id="text-org7f01f4d">
<div class="org-src-container">
<pre class="src src-bash">base=$(basename "$1")
ext="${base##*.}"
file=$(mktemp -u --suffix=".$ext")
rm -f "$file"
cp "$1" "$file"
setsid xdg-open "$file" &gt;/dev/null 2&gt;&amp;1 &amp;
</pre>
</div>
</div>
</div>
<div id="outline-container-orgcc8c95f" class="outline-4">
<h4 id="orgcc8c95f">urlview Config</h4>
<div class="outline-text-4" id="text-orgcc8c95f">
<div class="org-src-container">
<pre class="src src-conf">REGEXP (((http|https|ftp|gopher)|mailto)[.:][^ &gt;"\t]*|www\.[-a-z0-9.]+)[^ .,;\t&gt;"&gt;\):]
COMMAND nohup qutebrowser %s &lt;/dev/null &amp;&gt;/dev/null &amp;
</pre>
</div>
</div>
</div>
<div id="outline-container-org55699b6" class="outline-4">
<h4 id="org55699b6">Mailcap</h4>
<div class="outline-text-4" id="text-org55699b6">
<p>
Generic
</p>
<div class="org-src-container">
<pre class="src src-conf">text/plain; nvim %s
video/*; setsid mpv --quiet %s &amp;
image/*; sxiv -a -b %s &amp;
application/pdf; zathura %s &amp;
audio/*; /usr/bin/xdg-open %s; copiousoutput
text/html; export DISPLAY=:0 &amp;&amp; setsid qutebrowser %s; nametemplate=%s.html
text/html; w3m -I %{charset} -T text/html; copiousoutput;
text/calendar; khal import --batch -a home %s &amp;&amp; khal printics %s; copiousoutput;
application/ics; khal import --batch -a home %s &amp;&amp; khal printics %s; copiousoutput;
</pre>
</div>
<p>
Libreoffice
</p>
<div class="org-src-container">
<pre class="src src-conf">application/docx; libreoffice %s --nologo &amp;; copiousoutput;
application/doc; libreoffice --nologo %s &amp;; copiousoutput;
application/vnd.oasis.opendocument.database; libreoffice --nologo --base '%s'; copiousoutput
application/vnd.oasis.opendocument.chart; libreoffice --nologo --calc '%s'; copiousoutput
application/vnd.oasis.opendocument.spreadsheet; libreoffice --nologo --calc '%s'; copiousoutput
application/vnd.oasis.opendocument.spreadsheet-template; libreoffice --nologo --calc '%s'; copiousoutput
application/vnd.oasis.opendocument.graphics; libreoffice --nologo --draw '%s'; copiousoutput
application/vnd.oasis.opendocument.graphics-template; libreoffice --nologo --draw '%s'; copiousoutput
application/vnd.oasis.opendocument.presentation; libreoffice --nologo --impress '%s'; copiousoutput
application/vnd.oasis.opendocument.presentation-template; libreoffice --nologo --impress '%s'; copiousoutput
application/vnd.oasis.opendocument.formula; libreoffice --nologo --math '%s'; copiousoutput
application/vnd.oasis.opendocument.text; libreoffice --nologo --writer '%s'; copiousoutput
application/vnd.oasis.opendocument.text-master; libreoffice --nologo -global '%s'; copiousoutput
application/vnd.oasis.opendocument.text-template; libreoffice --nologo --writer '%s'; copiousoutput
application/vnd.oasis.opendocument.text-web; libreoffice --nologo -web '%s'; copiousoutput
application/vnd.sun.xml.base; libreoffice --nologo --writer '%s'; copiousoutput
application/vnd.sun.xml.calc; libreoffice --nologo --calc '%s'; copiousoutput
application/vnd.sun.xml.calc.template; libreoffice --nologo --calc '%s'; copiousoutput
application/vnd.sun.xml.draw; libreoffice --nologo --draw '%s'; copiousoutput
application/vnd.sun.xml.draw.template; libreoffice --nologo --draw '%s'; copiousoutput
application/vnd.stardivision.calc; libreoffice --nologo --calc '%s'; copiousoutput
application/vnd.stardivision.chart; libreoffice --nologo --calc '%s'; copiousoutput
application/vnd.stardivision.draw; libreoffice --nologo --draw '%s'; copiousoutput
application/vnd.stardivision.impress; libreoffice --nologo --impress '%s'; copiousoutput
application/vnd.stardivision.math; libreoffice --nologo --math '%s'; copiousoutput
application/vnd.stardivision.writer-global; libreoffice --nologo --writer '%s'; copiousoutput
application/vnd.stardivision.writer; libreoffice --nologo --writer '%s'; copiousoutput
application/vnd.sun.xml.impress; libreoffice --nologo --impress '%s'; copiousoutput
application/vnd.sun.xml.impress.template; libreoffice --nologo --impress '%s'; copiousoutput
application/vnd.sun.xml.math; libreoffice --nologo --math '%s'; copiousoutput
application/vnd.sun.xml.writer; libreoffice --nologo --writer '%s'; copiousoutput
application/vnd.sun.xml.writer.global; libreoffice --nologo -global '%s'; copiousoutput
application/vnd.sun.xml.writer.template; libreoffice --nologo --writer '%s'; copiousoutput
text/csv; libreoffice --nologo --calc '%s'; copiousoutput
text/spreadsheet; libreoffice --nologo --calc '%s'; copiousoutput
application/x-quattropro; libreoffice --nologo --calc '%s'; copiousoutput
application/x-dbf; libreoffice --nologo --calc '%s'; copiousoutput
application/vnd.ms-excel.sheet.macroEnabled.12; libreoffice --nologo --calc '%s'; copiousoutput
application/vnd.ms-excel.template.macroEnabled.12; libreoffice --nologo --calc '%s'; copiousoutput
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; libreoffice --nologo --calc '%s'; copiousoutput
application/vnd.openxmlformats-officedocument.spreadsheetml.template; libreoffice --nologo --calc '%s'; copiousoutput
application/vnd.lotus-1-2-3; libreoffice --nologo --calc '%s'; copiousoutput
application/vnd.ms-excel; libreoffice --nologo --calc '%s'; copiousoutput
application/msexcel; libreoffice --nologo --calc '%s'; copiousoutput
application/x-dbase; libreoffice --nologo --calc '%s'; copiousoutput
text/x-csv; libreoffice --nologo --calc '%s'; copiousoutput
application/vnd.ms-powerpoint.presentation.macroEnabled.12; libreoffice --nologo --impress '%s'; copiousoutput
application/vnd.ms-powerpoint.slideshow.macroEnabled.12; libreoffice --nologo --impress '%s'; copiousoutput
application/vnd.ms-powerpoint.template.macroEnabled.12; libreoffice --nologo --impress '%s'; copiousoutput
application/vnd.openxmlformats-officedocument.presentationml.presentation; libreoffice --nologo --impress '%s'; copiousoutput
application/vnd.openxmlformats-officedocument.presentationml.slideshow; libreoffice --nologo --impress '%s'; copiousoutput
application/vnd.openxmlformats-officedocument.presentationml.template; libreoffice --nologo --impress '%s'; copiousoutput
application/vnd.ms-powerpoint; libreoffice --nologo --impress '%s'; copiousoutput
application/mspowerpoint; libreoffice --nologo --impress '%s'; copiousoutput
text/mathml; libreoffice --nologo --math '%s'; copiousoutput
application/rtf; libreoffice --nologo --writer '%s'; copiousoutput
application/x-t602; libreoffice --nologo --writer '%s'; copiousoutput
application/vnd.wordperfect; libreoffice --nologo --writer '%s'; copiousoutput
application/vnd.ms-word.document.macroEnabled.12; libreoffice --nologo --writer '%s'; copiousoutput
application/vnd.ms-word.template.macroEnabled.12; libreoffice --nologo --writer '%s'; copiousoutput
application/vnd.openxmlformats-officedocument.wordprocessingml.document; libreoffice --nologo --writer '%s'; copiousoutput
application/vnd.openxmlformats-officedocument.wordprocessingml.template; libreoffice --nologo --writer '%s'; copiousoutput
application/vnd.ms-works; libreoffice --nologo --writer '%s'; copiousoutput
application/msword; libreoffice --nologo --writer '%s'; copiousoutput
application/wordperfect; libreoffice --nologo --writer '%s'; copiousoutput
text/rtf; libreoffice --nologo --writer '%s'; copiousoutput
</pre>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-05-26 mar. 08:40</p>
</div>
</body>
</html>