1791 lines
88 KiB
HTML
1791 lines
88 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>
|
|
<!-- 2022-05-09 lun. 10:04 -->
|
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
|
<title>Mail Configuration</title>
|
|
<meta name="author" content="Dehaeze Thomas" />
|
|
<meta name="generator" content="Org Mode" />
|
|
<link rel="stylesheet" type="text/css" href="./dist/style.css"/>
|
|
<script type="text/javascript" src="./dist/script.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" class="content">
|
|
<h1 class="title">Mail Configuration</h1>
|
|
<div id="table-of-contents" role="doc-toc">
|
|
<h2>Table of Contents</h2>
|
|
<div id="text-table-of-contents" role="doc-toc">
|
|
<ul>
|
|
<li><a href="#mbsync"><code>mbsync</code> - Synchronize Mailboxes</a>
|
|
<ul>
|
|
<li><a href="#orgbd99b25">Global Defaults</a></li>
|
|
<li><a href="#orgb60beb7">Gmail Account</a></li>
|
|
<li><a href="#org35a0cca">ESRF Account</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#msmtp"><code>msmtp</code> - Send Mails</a>
|
|
<ul>
|
|
<li><a href="#org4d44d07">Defaults</a></li>
|
|
<li><a href="#org592aacf">Gmail Account</a></li>
|
|
<li><a href="#org080d6d4">ESRF Account</a></li>
|
|
<li><a href="#org868bd6b">Default Account</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#mu"><code>mu</code> - Mail Indexer</a></li>
|
|
<li><a href="#neomutt"><code>neomutt</code> - Mail Client</a>
|
|
<ul>
|
|
<li><a href="#orgeaf49f3">Bindings</a>
|
|
<ul>
|
|
<li><a href="#org5c23d10">Unding all the key bindings</a></li>
|
|
<li><a href="#orgb024637">Quit Neomutt</a></li>
|
|
<li><a href="#org3a8186d">Generic</a></li>
|
|
<li><a href="#org66ff01d">Index and Pager</a></li>
|
|
<li><a href="#orgcda258c">Limit</a></li>
|
|
<li><a href="#org74064fd">Search</a></li>
|
|
<li><a href="#org66d80c0">Attachments</a></li>
|
|
<li><a href="#org61ac062">Compose</a>
|
|
<ul>
|
|
<li><a href="#org2366a23">Attach with Ranger Script</a></li>
|
|
<li><a href="#org8cb1259">Send HTML mails using Markdown</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org700fb65">Browser</a></li>
|
|
<li><a href="#org7a3660e">Generic</a></li>
|
|
<li><a href="#org854c3e5">Sidebar</a></li>
|
|
<li><a href="#org5e2baa3">Reload Configuration</a></li>
|
|
<li><a href="#org3acb20d">urlview - Open URL in emails</a></li>
|
|
<li><a href="#org43c90e9">Searching using Mu</a></li>
|
|
<li><a href="#orgc1ed8c2">Link to Orgmode</a>
|
|
<ul>
|
|
<li><a href="#orgfa8f034">Link mail to orgmode - Script</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org9117139">Colors</a></li>
|
|
<li><a href="#orgc29edef">Contacts with Mu</a></li>
|
|
<li><a href="#org6ec07f1">Paths</a></li>
|
|
<li><a href="#org221159f">Print</a></li>
|
|
<li><a href="#orgf4c1889">Accounts</a>
|
|
<ul>
|
|
<li><a href="#org53fa91a">Gmail</a>
|
|
<ul>
|
|
<li><a href="#org198cc1b">Configuration</a></li>
|
|
<li><a href="#org611d2f8">Signature</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orgc5b7833">ESRF</a>
|
|
<ul>
|
|
<li><a href="#org4c4c1fb">Configuration</a></li>
|
|
<li><a href="#orgf895905">Signature</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orge0397c4">Basic Options</a></li>
|
|
<li><a href="#org322b191">View Options</a>
|
|
<ul>
|
|
<li><a href="#org7e61cbc">Status Bar</a></li>
|
|
<li><a href="#org7c4e486">Index View Options</a></li>
|
|
<li><a href="#org98c570b">Pager View Options</a></li>
|
|
<li><a href="#org8f1ca42">Compose View Options</a></li>
|
|
<li><a href="#org81a2b65">Forward</a></li>
|
|
<li><a href="#org6f5a08c">Headers</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org16ab6f1">Sidebar</a>
|
|
<ul>
|
|
<li><a href="#org4d92dd9">General Config</a></li>
|
|
<li><a href="#org7f77af5">Mailboxes to show in the sidebar.</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#org9478e31">Attachments</a>
|
|
<ul>
|
|
<li><a href="#orgb6538f1">Attachment View Options</a></li>
|
|
<li><a href="#orgac93184">Open Attachment</a></li>
|
|
<li><a href="#org11b72bc">Attach multiple files at once</a></li>
|
|
<li><a href="#org1b18bf4">Forgotten Attachment</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="#orgd1da97d">Scripts and other config files</a>
|
|
<ul>
|
|
<li><a href="#org9179fe8">Search Mail</a></li>
|
|
<li><a href="#orgc3d3627">Send Mail Script</a></li>
|
|
<li><a href="#org7eba6bf">Sync Mail Script</a></li>
|
|
<li><a href="#org313ac8f">Openfile Scripts</a></li>
|
|
<li><a href="#org5e8881f">urlview Config</a></li>
|
|
<li><a href="#orgd9e9819">Mailcap</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<p>
|
|
Installation:
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash"><span class="org-type">sudo</span> apt install mbsync msmtp maildir-utils neomutt lynx
|
|
</pre>
|
|
</div>
|
|
|
|
<div id="outline-container-mbsync" class="outline-2">
|
|
<h2 id="mbsync"><code>mbsync</code> - Synchronize Mailboxes</h2>
|
|
<div class="outline-text-2" id="text-mbsync">
|
|
<p>
|
|
<a href="http://isync.sourceforge.net/">http://isync.sourceforge.net/</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-orgbd99b25" class="outline-3">
|
|
<h3 id="orgbd99b25">Global Defaults</h3>
|
|
<div class="outline-text-3" id="text-orgbd99b25">
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Automatically create missing mailboxes, both locally and on the server</span>
|
|
Create Both
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Save the synchronization state files in the relevant directory</span>
|
|
SyncState *
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Permanently remove all messages [on the Far/Near] marked for deletion.</span>
|
|
Expunge Both
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgb60beb7" class="outline-3">
|
|
<h3 id="orgb60beb7">Gmail Account</h3>
|
|
<div class="outline-text-3" id="text-orgb60beb7">
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf">IMAPAccount gmail
|
|
Host imap.gmail.com
|
|
User dehaeze.thomas@gmail.com
|
|
PassCmd <span class="org-string">"pass email/dehaeze.thomas@gmail.com"</span>
|
|
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
|
|
Far :gmail-remote:INBOX
|
|
Near :gmail-local:Inbox
|
|
|
|
Channel gmail-Drafts
|
|
Far :gmail-remote:<span class="org-string">"[Gmail]/Drafts"</span>
|
|
Near :gmail-local:Drafts
|
|
|
|
Channel gmail-Sent
|
|
Far :gmail-remote:<span class="org-string">"[Gmail]/Sent Mail"</span>
|
|
Near :gmail-local:Sent
|
|
|
|
Channel gmail-Trash
|
|
Far :gmail-remote:<span class="org-string">"[Gmail]/Trash"</span>
|
|
Near :gmail-local:Trash
|
|
|
|
Channel gmail-Archive
|
|
Far :gmail-remote:<span class="org-string">"[Imap]/Archive"</span>
|
|
Near :gmail-local:Archive
|
|
</pre>
|
|
</div>
|
|
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Catch-all for everything else: note that the `Patterns` have to exclude both</span>
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">the remote and local names for all the folders we want to exclude (except</span>
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">"INBOX", which is special-cased, it would seem).</span>
|
|
Channel gmail
|
|
Far :gmail-remote:
|
|
Near :gmail-local:
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Exclude everything under the internal [Gmail] folder, except the interesting folders</span>
|
|
Patterns *
|
|
Patterns !INBOX
|
|
Patterns ![Gmail]*
|
|
Patterns !Drafts
|
|
Patterns !Sent Mail
|
|
Patterns !Trash
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Patterns ![Imap]/Archive</span>
|
|
</pre>
|
|
</div>
|
|
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">For doing a quick sync of just the INBOX with `mbsync gmail-download`.</span>
|
|
Channel gmail-download
|
|
Far :gmail-remote:INBOX
|
|
Near :gmail-local:Inbox
|
|
Create Near
|
|
Expunge Near
|
|
Sync Pull
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org35a0cca" class="outline-3">
|
|
<h3 id="org35a0cca">ESRF Account</h3>
|
|
<div class="outline-text-3" id="text-org35a0cca">
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf">IMAPAccount esrf
|
|
Host imaps.esrf.fr
|
|
User dehaeze
|
|
PassCmd <span class="org-string">"pass email/thomas.dehaeze@esrf.fr"</span>
|
|
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
|
|
Far :esrf-remote:INBOX
|
|
Near :esrf-local:Inbox
|
|
|
|
Channel esrf-Drafts
|
|
Far :esrf-remote:Drafts
|
|
Near :esrf-local:Drafts
|
|
|
|
Channel esrf-Archive
|
|
Far :esrf-remote:Archive
|
|
Near :esrf-local:Archive
|
|
|
|
Channel esrf-Sent
|
|
Far :esrf-remote:Sent
|
|
Near :esrf-local:Sent
|
|
|
|
Channel esrf-Trash
|
|
Far :esrf-remote:Trash
|
|
Near :esrf-local:Trash
|
|
</pre>
|
|
</div>
|
|
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf">Channel esrf
|
|
Far :esrf-remote:
|
|
Near :esrf-local:
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
For doing a quick sync of just the INBOX with <code>mbsync esrf-download</code>.
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf">Channel esrf-download
|
|
Far :esrf-remote:INBOX
|
|
Near :esrf-local:Inbox
|
|
Create Near
|
|
Expunge Near
|
|
Sync Pull
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-msmtp" class="outline-2">
|
|
<h2 id="msmtp"><code>msmtp</code> - Send Mails</h2>
|
|
<div class="outline-text-2" id="text-msmtp">
|
|
<p>
|
|
<a href="https://marlam.de/msmtp/">https://marlam.de/msmtp/</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div id="outline-container-org4d44d07" class="outline-3">
|
|
<h3 id="org4d44d07">Defaults</h3>
|
|
<div class="outline-text-3" id="text-org4d44d07">
|
|
<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-org592aacf" class="outline-3">
|
|
<h3 id="org592aacf">Gmail Account</h3>
|
|
<div class="outline-text-3" id="text-org592aacf">
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf">account gmail
|
|
host smtp.gmail.com
|
|
port <span class="org-highlight-numbers-number">587</span>
|
|
protocol smtp
|
|
from dehaeze.thomas@gmail.com
|
|
user dehaeze.thomas@gmail.com
|
|
passwordeval <span class="org-string">"pass email/dehaeze.thomas@gmail.com"</span>
|
|
proxy_host localhost
|
|
proxy_port <span class="org-highlight-numbers-number">8080</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org080d6d4" class="outline-3">
|
|
<h3 id="org080d6d4">ESRF Account</h3>
|
|
<div class="outline-text-3" id="text-org080d6d4">
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf">account esrf
|
|
host smtps.esrf.fr
|
|
port <span class="org-highlight-numbers-number">465</span>
|
|
protocol smtp
|
|
from thomas.dehaeze@esrf.fr
|
|
user dehaeze
|
|
tls_starttls off
|
|
passwordeval <span class="org-string">"pass email/thomas.dehaeze@esrf.fr"</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org868bd6b" class="outline-3">
|
|
<h3 id="org868bd6b">Default Account</h3>
|
|
<div class="outline-text-3" id="text-org868bd6b">
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf">account default : esrf
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-mu" class="outline-2">
|
|
<h2 id="mu"><code>mu</code> - Mail Indexer</h2>
|
|
<div class="outline-text-2" id="text-mu">
|
|
<p>
|
|
<code>Mu</code> (<a href="https://github.com/djcb/mu">github</a>) it used as a “maildir indexer/searcher”.
|
|
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 <span class="org-type">find</span> <span class="org-string">'mime:application/pdf'</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-neomutt" class="outline-2">
|
|
<h2 id="neomutt"><code>neomutt</code> - Mail Client</h2>
|
|
<div class="outline-text-2" id="text-neomutt">
|
|
<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-orgeaf49f3" class="outline-3">
|
|
<h3 id="orgeaf49f3">Bindings</h3>
|
|
<div class="outline-text-3" id="text-orgeaf49f3">
|
|
</div>
|
|
<div id="outline-container-org5c23d10" class="outline-4">
|
|
<h4 id="org5c23d10">Unding all the key bindings</h4>
|
|
<div class="outline-text-4" id="text-org5c23d10">
|
|
<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 <Tab> noop
|
|
bind generic,pager,editor,index <Space> noop
|
|
bind generic,pager,editor,index <PageUp> noop
|
|
bind generic,pager,editor,index <PageDown> noop
|
|
bind generic,pager,editor,index <Home> noop
|
|
bind generic,pager,editor,index <End> noop
|
|
bind generic,pager,editor,index <Insert> noop
|
|
bind generic,pager,editor,index <Delete> noop
|
|
bind generic,pager,editor,index <Up> noop
|
|
bind generic,pager,editor,index <Down> noop
|
|
bind generic,pager,editor,index <Left> noop
|
|
bind generic,pager,editor,index <Right> noop
|
|
bind generic,pager,editor,index <Enter> noop
|
|
bind generic,pager,editor,index <Return> noop
|
|
|
|
bind generic,pager,editor,index | noop
|
|
|
|
bind generic,pager,editor,index <span class="org-highlight-numbers-number">1</span> noop
|
|
bind generic,pager,editor,index <span class="org-highlight-numbers-number">2</span> noop
|
|
bind generic,pager,editor,index <span class="org-highlight-numbers-number">3</span> noop
|
|
bind generic,pager,editor,index <span class="org-highlight-numbers-number">4</span> noop
|
|
bind generic,pager,editor,index <span class="org-highlight-numbers-number">5</span> noop
|
|
bind generic,pager,editor,index <span class="org-highlight-numbers-number">6</span> noop
|
|
bind generic,pager,editor,index <span class="org-highlight-numbers-number">7</span> noop
|
|
bind generic,pager,editor,index <span class="org-highlight-numbers-number">8</span> noop
|
|
bind generic,pager,editor,index <span class="org-highlight-numbers-number">9</span> noop
|
|
bind generic,pager,editor,index <span class="org-highlight-numbers-number">0</span> 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 & 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<Tab> noop
|
|
bind generic,pager,editor,index \C<Space> noop
|
|
bind generic,pager,editor,index \C<PageUp> noop
|
|
bind generic,pager,editor,index \C<PageDown> noop
|
|
bind generic,pager,editor,index \C<Home> noop
|
|
bind generic,pager,editor,index \C<End> noop
|
|
bind generic,pager,editor,index \C<Insert> noop
|
|
bind generic,pager,editor,index \C<Delete> noop
|
|
bind generic,pager,editor,index \C<Up> noop
|
|
bind generic,pager,editor,index \C<Down> noop
|
|
bind generic,pager,editor,index \C<Left> noop
|
|
bind generic,pager,editor,index \C<Right> noop
|
|
bind generic,pager,editor,index \C<Enter> noop
|
|
bind generic,pager,editor,index \C<Return> 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& 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 <Esc>a noop
|
|
bind generic,pager,editor,index <Esc>b noop
|
|
bind generic,pager,editor,index <Esc>c noop
|
|
bind generic,pager,editor,index <Esc>d noop
|
|
bind generic,pager,editor,index <Esc>e noop
|
|
bind generic,pager,editor,index <Esc>f noop
|
|
bind generic,pager,editor,index <Esc>g noop
|
|
bind generic,pager,editor,index <Esc>h noop
|
|
bind generic,pager,editor,index <Esc>i noop
|
|
bind generic,pager,editor,index <Esc>j noop
|
|
bind generic,pager,editor,index <Esc>k noop
|
|
bind generic,pager,editor,index <Esc>l noop
|
|
bind generic,pager,editor,index <Esc>m noop
|
|
bind generic,pager,editor,index <Esc>n noop
|
|
bind generic,pager,editor,index <Esc>o noop
|
|
bind generic,pager,editor,index <Esc>p noop
|
|
bind generic,pager,editor,index <Esc>q noop
|
|
bind generic,pager,editor,index <Esc>r noop
|
|
bind generic,pager,editor,index <Esc>s noop
|
|
bind generic,pager,editor,index <Esc>t noop
|
|
bind generic,pager,editor,index <Esc>u noop
|
|
bind generic,pager,editor,index <Esc>v noop
|
|
bind generic,pager,editor,index <Esc>w noop
|
|
bind generic,pager,editor,index <Esc>x noop
|
|
bind generic,pager,editor,index <Esc>y noop
|
|
bind generic,pager,editor,index <Esc>z noop
|
|
bind generic,pager,editor,index <Esc>A noop
|
|
bind generic,pager,editor,index <Esc>B noop
|
|
bind generic,pager,editor,index <Esc>C noop
|
|
bind generic,pager,editor,index <Esc>D noop
|
|
bind generic,pager,editor,index <Esc>E noop
|
|
bind generic,pager,editor,index <Esc>F noop
|
|
bind generic,pager,editor,index <Esc>G noop
|
|
bind generic,pager,editor,index <Esc>H noop
|
|
bind generic,pager,editor,index <Esc>I noop
|
|
bind generic,pager,editor,index <Esc>J noop
|
|
bind generic,pager,editor,index <Esc>K noop
|
|
bind generic,pager,editor,index <Esc>L noop
|
|
bind generic,pager,editor,index <Esc>M noop
|
|
bind generic,pager,editor,index <Esc>N noop
|
|
bind generic,pager,editor,index <Esc>O noop
|
|
bind generic,pager,editor,index <Esc>P noop
|
|
bind generic,pager,editor,index <Esc>Q noop
|
|
bind generic,pager,editor,index <Esc>R noop
|
|
bind generic,pager,editor,index <Esc>S noop
|
|
bind generic,pager,editor,index <Esc>T noop
|
|
bind generic,pager,editor,index <Esc>U noop
|
|
bind generic,pager,editor,index <Esc>V noop
|
|
bind generic,pager,editor,index <Esc>W noop
|
|
bind generic,pager,editor,index <Esc>X noop
|
|
bind generic,pager,editor,index <Esc>Y noop
|
|
bind generic,pager,editor,index <Esc>Z noop
|
|
|
|
bind generic,pager,editor,index <Esc><Tab> noop
|
|
bind generic,pager,editor,index <Esc><Space> noop
|
|
bind generic,pager,editor,index <Esc><PageUp> noop
|
|
bind generic,pager,editor,index <Esc><PageDown> noop
|
|
bind generic,pager,editor,index <Esc><Home> noop
|
|
bind generic,pager,editor,index <Esc><End> noop
|
|
bind generic,pager,editor,index <Esc><Insert> noop
|
|
bind generic,pager,editor,index <Esc><Delete> noop
|
|
bind generic,pager,editor,index <Esc><Up> noop
|
|
bind generic,pager,editor,index <Esc><Down> noop
|
|
bind generic,pager,editor,index <Esc><Left> noop
|
|
bind generic,pager,editor,index <Esc><Right> noop
|
|
bind generic,pager,editor,index <Esc><Enter> noop
|
|
bind generic,pager,editor,index <Esc><Return> noop
|
|
|
|
bind generic,pager,editor,index <Esc>1 noop
|
|
bind generic,pager,editor,index <Esc>2 noop
|
|
bind generic,pager,editor,index <Esc>3 noop
|
|
bind generic,pager,editor,index <Esc>4 noop
|
|
bind generic,pager,editor,index <Esc>5 noop
|
|
bind generic,pager,editor,index <Esc>6 noop
|
|
bind generic,pager,editor,index <Esc>7 noop
|
|
bind generic,pager,editor,index <Esc>8 noop
|
|
bind generic,pager,editor,index <Esc>9 noop
|
|
bind generic,pager,editor,index <Esc>0 noop
|
|
bind generic,pager,editor,index <Esc>! noop
|
|
bind generic,pager,editor,index <Esc>@ noop
|
|
bind generic,pager,editor,index <Esc>$ noop
|
|
bind generic,pager,editor,index <Esc>% noop
|
|
bind generic,pager,editor,index <Esc>^ noop
|
|
bind generic,pager,editor,index <Esc>& noop
|
|
bind generic,pager,editor,index <Esc>* noop
|
|
bind generic,pager,editor,index <Esc>( noop
|
|
bind generic,pager,editor,index <Esc>) noop
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgb024637" class="outline-4">
|
|
<h4 id="orgb024637">Quit Neomutt</h4>
|
|
<div class="outline-text-4" id="text-orgb024637">
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf">bind index,pager,compose Q exit
|
|
macro index q <span class="org-string">"<shell-escape>if [ $TMUX ]; then tmux detach; fi<enter>"</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org3a8186d" class="outline-4">
|
|
<h4 id="org3a8186d">Generic</h4>
|
|
<div class="outline-text-4" id="text-org3a8186d">
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf">bind generic Q exit
|
|
|
|
bind generic <Return> select-entry
|
|
bind generic l select-entry
|
|
|
|
bind generic,index k previous-entry
|
|
bind generic,index j next-entry
|
|
|
|
bind generic,index <span class="org-highlight-numbers-number">0</span> first-entry
|
|
bind generic,index $ last-entry
|
|
|
|
bind generic,index \<span class="org-highlight-numbers-number">031</span> previous-entry <span class="org-comment-delimiter"># </span><span class="org-comment">Mouse wheel</span>
|
|
bind generic,index \<span class="org-highlight-numbers-number">005</span> next-entry <span class="org-comment-delimiter"># </span><span class="org-comment">Mouse wheel</span>
|
|
|
|
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-org66ff01d" class="outline-4">
|
|
<h4 id="org66ff01d">Index and Pager</h4>
|
|
<div class="outline-text-4" id="text-org66ff01d">
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf">bind pager k previous-line
|
|
bind pager j next-line
|
|
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Display mode information</span>
|
|
bind pager i display-toggle-weed
|
|
|
|
bind index <space> collapse-thread
|
|
|
|
bind index,pager K previous-entry
|
|
bind index,pager J next-entry
|
|
|
|
bind index l display-message
|
|
bind index <Return> display-message
|
|
bind pager l view-attachments
|
|
|
|
bind pager gg top
|
|
bind pager <span class="org-highlight-numbers-number">0</span> top
|
|
|
|
bind pager G bottom
|
|
bind pager $ bottom
|
|
|
|
macro index h <span class="org-string">"<change-folder>?"</span> <span class="org-string">"Go back to the list of mailboxes"</span>
|
|
bind pager h exit
|
|
bind pager q exit
|
|
|
|
macro index c <span class="org-string">"<change-folder>?<toggle-mailboxes>"</span> <span class="org-string">"change folder"</span>
|
|
|
|
bind index,pager u undelete-message
|
|
|
|
bind index,pager P print-message
|
|
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Compose a new email (not a reply) to the sender</span>
|
|
bind index,pager @ compose-to-sender
|
|
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Marl All message as read</span>
|
|
macro index \Cr \
|
|
<span class="org-string">"<tag-pattern>~N<enter><tag-prefix><clear-flag>N<untag-pattern>.<enter>"</span> \
|
|
<span class="org-string">"mark all new as read"</span>
|
|
</pre>
|
|
</div>
|
|
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf">bind index z collapse-thread
|
|
bind index Z collapse-all
|
|
</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 <span class="org-string">"<shell-escape>$HOME/.config/neomutt/bin/get_new_mail.sh<enter>"</span>
|
|
macro index,pager O <span class="org-string">"<shell-escape>$HOME/.config/neomutt/bin/get_new_mail.sh -a<enter>"</span>
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
Make quick html view macro
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf">macro index,pager H <span class="org-string">"<view-attachments><search>html<enter><view-mailcap><exit>"</span>
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
Open mail with Vim
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf">macro index,pager V <span class="org-string">"<view-attachments><search>plain<enter><view-mailcap><exit>"</span>
|
|
</pre>
|
|
</div>
|
|
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf">bind index 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>
|
|
|
|
<p>
|
|
Copy and move mails
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf">macro index C <span class="org-string">"<copy-message>?<toggle-mailboxes>"</span> <span class="org-string">"copy a message to a mailbox"</span>
|
|
macro index M <span class="org-string">"<save-message>?<toggle-mailboxes>"</span> <span class="org-string">"move a message to a mailbox"</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgcda258c" class="outline-4">
|
|
<h4 id="orgcda258c">Limit</h4>
|
|
<div class="outline-text-4" id="text-orgcda258c">
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf">bind index L limit
|
|
macro index a <limit>all<enter>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org74064fd" class="outline-4">
|
|
<h4 id="org74064fd">Search</h4>
|
|
<div class="outline-text-4" id="text-org74064fd">
|
|
<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-org66d80c0" class="outline-4">
|
|
<h4 id="org66d80c0">Attachments</h4>
|
|
<div class="outline-text-4" id="text-org66d80c0">
|
|
<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 <return> view-mailcap
|
|
|
|
macro attach W <save-entry><kill-line>~/Downloads/<enter>y <span class="org-string">"Save entry"</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org61ac062" class="outline-4">
|
|
<h4 id="org61ac062">Compose</h4>
|
|
<div class="outline-text-4" id="text-org61ac062">
|
|
<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 <span class="org-string">"<shell-escape>$TERMINAL -e \"neomutt -R\"<enter>"</span>
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
Attach multiple files using ranger
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf">macro compose A <span class="org-string">"<shell-escape>bash $HOME/.config/neomutt/bin/rangerpick<enter><enter-command>source /tmp/rangerpick<enter><shell-escape>bash $HOME/.config/neomutt/bin/rangerpick clean<enter>"</span> <span class="org-string">"Attach with Ranger"</span>
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
Attach file by drooping from GUI
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf">macro compose B <span class="org-string">"<shell-escape>bash $HOME/.config/neomutt/bin/rangerpick dragon<enter><enter-command>source /tmp/rangerpick<enter><shell-escape>bash $HOME/.config/neomutt/bin/rangerpick clean<enter>"</span> <span class="org-string">"Attach with Ranger"</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org2366a23" class="outline-5">
|
|
<h5 id="org2366a23">Attach with Ranger Script</h5>
|
|
<div class="outline-text-5" id="text-org2366a23">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash"><span class="org-variable-name">tmpfile</span>=/tmp/rangerpick
|
|
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> -z <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
|
|
ranger --choosefiles $<span class="org-variable-name">tmpfile</span> && sed -i <span class="org-string">'s/\s/\\ /g'</span> $<span class="org-variable-name">tmpfile</span> && <span class="org-type">echo</span> <span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">awk</span><span class="org-string"><span class="org-sh-quoted-exec"> 'BEGIN {printf "%s", "push "} {printf "%s", "<attach-file>"</span></span><span class="org-string"><span class="org-constant"><span class="org-sh-quoted-exec">$</span></span></span><span class="org-string"><span class="org-variable-name"><span class="org-sh-quoted-exec">0</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">"<enter>"}' </span></span><span class="org-string"><span class="org-constant"><span class="org-sh-quoted-exec">$</span></span></span><span class="org-string"><span class="org-variable-name"><span class="org-sh-quoted-exec">tmpfile</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">)</span></span><span class="org-string">"</span> > $<span class="org-variable-name">tmpfile</span>
|
|
<span class="org-keyword">elif</span> <span class="org-rainbow-delimiters-depth-1">[</span> $<span class="org-highlight-numbers-number">1</span> == <span class="org-string">"dragon"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
|
|
dragon --target --print-path --keep > $<span class="org-variable-name">tmpfile</span> && sed -i <span class="org-string">'s/\s/\\ /g'</span> $<span class="org-variable-name">tmpfile</span> && <span class="org-type">echo</span> <span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">awk</span><span class="org-string"><span class="org-sh-quoted-exec"> 'BEGIN {printf "%s", "push "} {printf "%s", "<attach-file>"</span></span><span class="org-string"><span class="org-constant"><span class="org-sh-quoted-exec">$</span></span></span><span class="org-string"><span class="org-variable-name"><span class="org-sh-quoted-exec">0</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">"<enter>"}' </span></span><span class="org-string"><span class="org-constant"><span class="org-sh-quoted-exec">$</span></span></span><span class="org-string"><span class="org-variable-name"><span class="org-sh-quoted-exec">tmpfile</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">)</span></span><span class="org-string">"</span> > $<span class="org-variable-name">tmpfile</span>
|
|
<span class="org-keyword">elif</span> <span class="org-rainbow-delimiters-depth-1">[</span> $<span class="org-highlight-numbers-number">1</span> == <span class="org-string">"clean"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
|
|
<span class="org-type">ls</span> $<span class="org-variable-name">tmpfile</span>
|
|
<span class="org-keyword">fi</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org8cb1259" class="outline-5">
|
|
<h5 id="org8cb1259">Send HTML mails using Markdown</h5>
|
|
<div class="outline-text-5" id="text-org8cb1259">
|
|
<p>
|
|
Write html emails using markdown
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">macro compose M "F pandoc -s -f markdown -t html \ny^T^Utext/html; charset=us-ascii\n"</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org700fb65" class="outline-4">
|
|
<h4 id="org700fb65">Browser</h4>
|
|
<div class="outline-text-4" id="text-org700fb65">
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf">bind browser l select-entry
|
|
macro browser h <span class="org-string">"<top-page><select-entry>"</span>
|
|
|
|
bind browser t tag-entry
|
|
|
|
bind browser q exit
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org7a3660e" class="outline-4">
|
|
<h4 id="org7a3660e">Generic</h4>
|
|
<div class="outline-text-4" id="text-org7a3660e">
|
|
<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-org854c3e5" class="outline-4">
|
|
<h4 id="org854c3e5">Sidebar</h4>
|
|
<div class="outline-text-4" id="text-org854c3e5">
|
|
<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-org5e2baa3" class="outline-4">
|
|
<h4 id="org5e2baa3">Reload Configuration</h4>
|
|
<div class="outline-text-4" id="text-org5e2baa3">
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf">macro generic,index,pager,editor ,<Space> <span class="org-string">":source ~/.config/neomutt/neomuttrc\n"</span> <span class="org-string">"Reload mutt's configuration file"</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org3acb20d" class="outline-4">
|
|
<h4 id="org3acb20d">urlview - Open URL in emails</h4>
|
|
<div class="outline-text-4" id="text-org3acb20d">
|
|
<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 <span class="org-string">"\</span>
|
|
<span class="org-string"> :set my_tmp_pipe_decode=\$pipe_decode\n\</span>
|
|
<span class="org-string"> :set pipe_decode\n\</span>
|
|
<span class="org-string"> <pipe-message>urlview\n\</span>
|
|
<span class="org-string"> :set pipe_decode=\$my_tmp_pipe_decode\n\</span>
|
|
<span class="org-string"> :unset my_tmp_pipe_decode\n"</span> \
|
|
<span class="org-string">'call urlview to extract URLs out of a message'</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org43c90e9" class="outline-4">
|
|
<h4 id="org43c90e9">Searching using Mu</h4>
|
|
<div class="outline-text-4" id="text-org43c90e9">
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf">macro index,pager \Cf <span class="org-string">"<shell-escape>$HOME/.config/neomutt/bin/search_mail.sh<enter><change-folder-readonly>~/.mail/search<enter>"</span> \
|
|
<span class="org-string">"test"</span>
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">macro index,pager \Cf "<shell-escape>mu find --clearlinks --format=links --linksdir=~/.mail/search " \</span>
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">"mu find"</span>
|
|
macro index,pager gf <span class="org-string">"<change-folder-readonly>~/.mail/search<enter>"</span> \
|
|
<span class="org-string">"mu find results"</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgc1ed8c2" class="outline-4">
|
|
<h4 id="orgc1ed8c2">Link to Orgmode</h4>
|
|
<div class="outline-text-4" id="text-orgc1ed8c2">
|
|
<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 <span class="org-string">"<pipe-message>$HOME/.config/neomutt/bin/mutt-save-org-link.py\n"</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgfa8f034" class="outline-5">
|
|
<h5 id="orgfa8f034">Link mail to orgmode - Script</h5>
|
|
<div class="outline-text-5" id="text-orgfa8f034">
|
|
<p>
|
|
<a href="https://orgmode.org/manual/The-capture-protocol.html#The-capture-protocol">https://orgmode.org/manual/The-capture-protocol.html#The-capture-protocol</a>
|
|
</p>
|
|
|
|
<div class="org-src-container">
|
|
<pre class="src src-python"><span class="org-keyword">import</span> sys
|
|
<span class="org-keyword">import</span> email
|
|
<span class="org-keyword">from</span> email <span class="org-keyword">import</span> policy
|
|
<span class="org-keyword">import</span> subprocess
|
|
<span class="org-keyword">import</span> urllib.parse
|
|
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Parse the email from standard input</span>
|
|
<span class="org-variable-name">message_bytes</span> = sys.stdin.<span class="org-builtin">buffer</span>.read()
|
|
<span class="org-variable-name">message</span> = email.message_from_bytes(message_bytes, policy=policy.default)
|
|
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Grab the relevant message headers</span>
|
|
<span class="org-variable-name">message_id</span> = urllib.parse.quote(message[<span class="org-string">'message-id'</span>][<span class="org-highlight-numbers-number">1</span>:-<span class="org-highlight-numbers-number">1</span>])
|
|
<span class="org-variable-name">subject</span> = message[<span class="org-string">'subject'</span>]
|
|
<span class="org-variable-name">message_to</span> = message[<span class="org-string">'to'</span>]
|
|
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Ask emacsclient to save a link to the message</span>
|
|
subprocess.Popen([
|
|
<span class="org-string">'emacsclient'</span>,
|
|
f<span class="org-string">'org-protocol://capture?template=ps&url={message_id}&title={subject}&body={message_to}'</span>
|
|
])
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org9117139" class="outline-3">
|
|
<h3 id="org9117139">Colors</h3>
|
|
<div class="outline-text-3" id="text-org9117139">
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf">color attachment color109 color235
|
|
color bold color229 color235
|
|
color error color167 color235
|
|
color hdrdefault color246 color235
|
|
color indicator color223 color237
|
|
color markers color243 color235
|
|
color normal color223 color235
|
|
color prompt color223 color235
|
|
color quoted color250 color235
|
|
color quoted1 color108 color235
|
|
color quoted2 color250 color235
|
|
color quoted3 color108 color235
|
|
color quoted4 color250 color235
|
|
color quoted5 color108 color235
|
|
color search color235 color208
|
|
color signature color108 color235
|
|
color status color245 color235
|
|
color tilde color243 color235
|
|
color tree color142 color235
|
|
color underline color223 color239
|
|
|
|
color sidebar_divider color250 color235
|
|
color sidebar_new color142 color235
|
|
|
|
color index color142 color235 ~N
|
|
color index color108 color235 ~O
|
|
color index color109 color235 ~P
|
|
color index color214 color235 ~F
|
|
color index color175 color235 ~Q
|
|
<span class="org-variable-name">color index color167 color235 ~</span>=
|
|
color index color235 color223 ~T
|
|
color index color235 color167 ~D
|
|
|
|
color header color214 color235 <span class="org-string">"^(To:|Cc:|Bcc:|From:)"</span>
|
|
color header color142 color235 <span class="org-string">"^Subject:"</span>
|
|
color header color108 color235 <span class="org-string">"^X-Spam-Status:"</span>
|
|
color header color108 color235 <span class="org-string">"^Received:"</span>
|
|
|
|
color body color142 color235 <span class="org-string">"[a-z]{3,256}://[-a-zA-Z0-9@:%._\\+~#=/?&,]+"</span>
|
|
color body color208 color235 <span class="org-string">"[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+"</span>
|
|
color body color208 color235 <span class="org-string">"mailto:[-a-z_0-9.]+@[-a-z_0-9.]+"</span>
|
|
color body color235 color214 <span class="org-string">"[;:]-*[)>(<lt;|]"</span>
|
|
color body color229 color235 <span class="org-string">"\\*[- A-Za-z]+\\*"</span>
|
|
|
|
color body color214 color235 <span class="org-string">"^-.*PGP.*-*"</span>
|
|
color body color142 color235 <span class="org-string">"^gpg: Good signature from"</span>
|
|
color body color167 color235 <span class="org-string">"^gpg: Can't.*$"</span>
|
|
color body color214 color235 <span class="org-string">"^gpg: WARNING:.*$"</span>
|
|
color body color167 color235 <span class="org-string">"^gpg: BAD signature from"</span>
|
|
color body color167 color235 <span class="org-string">"^gpg: Note: This key has expired!"</span>
|
|
color body color214 color235 <span class="org-string">"^gpg: There is no indication that the signature belongs to the owner."</span>
|
|
color body color214 color235 <span class="org-string">"^gpg: can't handle these multiple signatures"</span>
|
|
color body color214 color235 <span class="org-string">"^gpg: signature verification suppressed"</span>
|
|
color body color214 color235 <span class="org-string">"^gpg: invalid node with packet of type"</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgc29edef" class="outline-3">
|
|
<h3 id="orgc29edef">Contacts with Mu</h3>
|
|
<div class="outline-text-3" id="text-orgc29edef">
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf"><span class="org-variable-name">set query_command</span>=<span class="org-string">"mu cfind '%s' -o mutt-ab"</span>
|
|
|
|
bind editor <Tab> complete-query
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org6ec07f1" class="outline-3">
|
|
<h3 id="org6ec07f1">Paths</h3>
|
|
<div class="outline-text-3" id="text-org6ec07f1">
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf"><span class="org-variable-name">set folder</span> = ~/.mail <span class="org-comment-delimiter"># </span><span class="org-comment">mail location</span>
|
|
<span class="org-variable-name">set alias_file</span> = ~/.config/neomutt/alias <span class="org-comment-delimiter"># </span><span class="org-comment">where to store aliases</span>
|
|
<span class="org-variable-name">set header_cache</span> = ~/.config/neomutt/cache/headers <span class="org-comment-delimiter"># </span><span class="org-comment">where to store headers</span>
|
|
<span class="org-variable-name">set message_cachedir</span> = ~/.config/neomutt/cache/bodies <span class="org-comment-delimiter"># </span><span class="org-comment">where to store bodies</span>
|
|
<span class="org-variable-name">set certificate_file</span> = ~/.config/neomutt/certificates <span class="org-comment-delimiter"># </span><span class="org-comment">where to store certs</span>
|
|
<span class="org-variable-name">set mailcap_path</span> = ~/.config/neomutt/mailcap <span class="org-comment-delimiter"># </span><span class="org-comment">entries for filetypes</span>
|
|
<span class="org-variable-name">set tmpdir</span> = ~/.config/neomutt/temp <span class="org-comment-delimiter"># </span><span class="org-comment">where to keep temp files</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org221159f" class="outline-3">
|
|
<h3 id="org221159f">Print</h3>
|
|
<div class="outline-text-3" id="text-org221159f">
|
|
<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"><span class="org-comment-delimiter"># </span><span class="org-comment">set print_command="/usr/bin/muttprint %s -p ctb110c1u"</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgf4c1889" class="outline-3">
|
|
<h3 id="orgf4c1889">Accounts</h3>
|
|
<div class="outline-text-3" id="text-orgf4c1889">
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf"><span class="org-variable-name">set spoolfile</span> = <span class="org-string">"+esrf/Inbox"</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Default inbox</span>
|
|
<span class="org-variable-name">set realname</span> = <span class="org-string">"Dehaeze Thomas"</span>
|
|
<span class="org-variable-name">set from</span> = <span class="org-string">"thomas.dehaeze@esrf.fr"</span>
|
|
|
|
folder-hook gmail/* source ~/.config/neomutt/accounts/gmail
|
|
folder-hook esrf/* source ~/.config/neomutt/accounts/esrf
|
|
|
|
macro index,pager ge <span class="org-string">"<change-folder>+esrf/Inbox<enter>"</span> <span class="org-string">"go to inbox"</span>
|
|
macro index,pager gm <span class="org-string">"<change-folder>+gmail/Inbox<enter>"</span> <span class="org-string">"go to inbox"</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org53fa91a" class="outline-4">
|
|
<h4 id="org53fa91a">Gmail</h4>
|
|
<div class="outline-text-4" id="text-org53fa91a">
|
|
</div>
|
|
<div id="outline-container-org198cc1b" class="outline-5">
|
|
<h5 id="org198cc1b">Configuration</h5>
|
|
<div class="outline-text-5" id="text-org198cc1b">
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf"><span class="org-variable-name">set from</span> = <span class="org-string">"dehaeze.thomas@gmail.com"</span>
|
|
<span class="org-variable-name">set sendmail</span> = <span class="org-string">"~/.config/neomutt/bin/send_mail.sh gmail"</span>
|
|
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Other special folders.</span>
|
|
<span class="org-variable-name">set mbox</span> = <span class="org-string">"+gmail/Archive"</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Archive Box</span>
|
|
<span class="org-variable-name">set postponed</span> = <span class="org-string">"+gmail/Drafts"</span>
|
|
|
|
unset record <span class="org-comment-delimiter"># </span><span class="org-comment">Don't copy send message to Sent folder: Gmail does that for us</span>
|
|
|
|
<span class="org-variable-name">set signature</span> = <span class="org-string">"~/.config/neomutt/accounts/gmail.signature"</span>
|
|
|
|
macro index,pager d \
|
|
<span class="org-string">"<save-message>+gmail/Archive<enter>"</span> \
|
|
<span class="org-string">"Move message to the Archive"</span>
|
|
|
|
macro index,pager D \
|
|
<span class="org-string">"<save-message>+gmail/Trash<enter>"</span> \
|
|
<span class="org-string">"Move message to the Trash"</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org611d2f8" class="outline-5">
|
|
<h5 id="org611d2f8">Signature</h5>
|
|
<div class="outline-text-5" id="text-org611d2f8">
|
|
<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-orgc5b7833" class="outline-4">
|
|
<h4 id="orgc5b7833">ESRF</h4>
|
|
<div class="outline-text-4" id="text-orgc5b7833">
|
|
</div>
|
|
<div id="outline-container-org4c4c1fb" class="outline-5">
|
|
<h5 id="org4c4c1fb">Configuration</h5>
|
|
<div class="outline-text-5" id="text-org4c4c1fb">
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf"><span class="org-variable-name">set from</span> = <span class="org-string">"thomas.dehaeze@esrf.fr"</span>
|
|
<span class="org-variable-name">set sendmail</span> = <span class="org-string">"~/.config/neomutt/bin/send_mail.sh esrf"</span>
|
|
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Other special folders.</span>
|
|
<span class="org-variable-name">set mbox</span> = <span class="org-string">"+esrf/Archive"</span>
|
|
<span class="org-variable-name">set record</span> = <span class="org-string">"+esrf/Sent"</span>
|
|
<span class="org-variable-name">set postponed</span> = <span class="org-string">"+esrf/Drafts"</span>
|
|
|
|
<span class="org-variable-name">set signature</span> = <span class="org-string">"~/.config/neomutt/accounts/esrf.signature"</span>
|
|
|
|
macro index,pager d \
|
|
<span class="org-string">"<save-message>+esrf/Archive<enter>"</span> \
|
|
<span class="org-string">"Move message to the Archive"</span>
|
|
|
|
macro index,pager D \
|
|
<span class="org-string">"<save-message>+esrf/Trash<enter>"</span> \
|
|
<span class="org-string">"Move message to the Trash"</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgf895905" class="outline-5">
|
|
<h5 id="orgf895905">Signature</h5>
|
|
<div class="outline-text-5" id="text-orgf895905">
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf">Thomas DEHAEZE
|
|
Mechatronics Engineer
|
|
ESRF - The European Synchrotron
|
|
Tel: +33 (<span class="org-highlight-numbers-number">0</span>)4.76.88.22.34
|
|
</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-orge0397c4" class="outline-3">
|
|
<h3 id="orge0397c4">Basic Options</h3>
|
|
<div class="outline-text-3" id="text-orge0397c4">
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf"><span class="org-variable-name">set wait_key</span> = no <span class="org-comment-delimiter"># </span><span class="org-comment">shut up, mutt</span>
|
|
<span class="org-variable-name">set mbox_type</span> = Maildir <span class="org-comment-delimiter"># </span><span class="org-comment">mailbox type</span>
|
|
<span class="org-variable-name">set help</span> = no <span class="org-comment-delimiter"># </span><span class="org-comment">No top bar</span>
|
|
<span class="org-variable-name">set timeout</span> = <span class="org-highlight-numbers-number">3</span> <span class="org-comment-delimiter"># </span><span class="org-comment">idle time before scanning</span>
|
|
<span class="org-variable-name">set sleep_time</span> = <span class="org-highlight-numbers-number">0</span> <span class="org-comment-delimiter"># </span><span class="org-comment">how long NeoMutt may wait after an error message</span>
|
|
<span class="org-variable-name">set mail_check</span> = <span class="org-highlight-numbers-number">0</span> <span class="org-comment-delimiter"># </span><span class="org-comment">minimum time between scans</span>
|
|
set delete <span class="org-comment-delimiter"># </span><span class="org-comment">don't ask, just do</span>
|
|
unset confirmappend <span class="org-comment-delimiter"># </span><span class="org-comment">don't ask, just do!</span>
|
|
set quit <span class="org-comment-delimiter"># </span><span class="org-comment">don't ask, just do!!</span>
|
|
<span class="org-variable-name">set mark_old</span> = no <span class="org-comment-delimiter"># </span><span class="org-comment">read/new is good enough for me</span>
|
|
set beep_new <span class="org-comment-delimiter"># </span><span class="org-comment">bell on new mails</span>
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">set pipe_decode # strip headers and eval mimes when piping</span>
|
|
set thorough_search <span class="org-comment-delimiter"># </span><span class="org-comment">strip headers and eval mimes before searching</span>
|
|
<span class="org-variable-name">set send_charset</span>=<span class="org-string">"us-ascii:utf-8:iso-8859-1"</span>
|
|
<span class="org-variable-name">set sendmail_wait</span> = <span class="org-highlight-numbers-number">0</span> <span class="org-comment-delimiter"># </span><span class="org-comment">no please don't silently fail, email is important</span>
|
|
set use_from <span class="org-comment-delimiter"># </span><span class="org-comment">respect the From: address the editor sends back</span>
|
|
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Use Vim to compose email, with a few default options.</span>
|
|
<span class="org-variable-name">set editor</span> = <span class="org-string">"nvim -c '/\\n--' -c ':noh' -c 'startinsert'"</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org322b191" class="outline-3">
|
|
<h3 id="org322b191">View Options</h3>
|
|
<div class="outline-text-3" id="text-org322b191">
|
|
</div>
|
|
<div id="outline-container-org7e61cbc" class="outline-4">
|
|
<h4 id="org7e61cbc">Status Bar</h4>
|
|
<div class="outline-text-4" id="text-org7e61cbc">
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf"><span class="org-variable-name">set status_on_top</span> = no
|
|
<span class="org-variable-name">set status_chars</span> = <span class="org-string">" *%A"</span>
|
|
<span class="org-variable-name">set status_format</span> = <span class="org-string">"───[ Folder: %f ]───[%r%m messages%?n? (%n new)?%?d? (%d to delete)?%?t? (%t tagged)? ]───%>─%?p?( %p postponed )?───"</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org7c4e486" class="outline-4">
|
|
<h4 id="org7c4e486">Index View Options</h4>
|
|
<div class="outline-text-4" id="text-org7c4e486">
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf"><span class="org-variable-name">set date_format</span> = <span class="org-string">"%d/%m/%y %H:%M"</span>
|
|
<span class="org-variable-name">set index_format</span> = <span class="org-string">"[%Z] %D %-20.20F %s"</span>
|
|
|
|
<span class="org-variable-name">set sort</span> = threads <span class="org-comment-delimiter"># </span><span class="org-comment">like gmail</span>
|
|
<span class="org-variable-name">set sort_aux</span> = reverse-last-date-received <span class="org-comment-delimiter"># </span><span class="org-comment">like gmail</span>
|
|
set uncollapse_jump <span class="org-comment-delimiter"># </span><span class="org-comment">don't collapse on an unread message</span>
|
|
set sort_re <span class="org-comment-delimiter"># </span><span class="org-comment">thread based on regex</span>
|
|
<span class="org-variable-name">set reply_regexp</span> = <span class="org-string">"^(([Rr][Ee]?(\[[0-9]+\])?: *)?(\[[^]]+\] *)?)*"</span>
|
|
<span class="org-variable-name">set folder_format</span> = <span class="org-string">"%2C %t %N %8s %f"</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org98c570b" class="outline-4">
|
|
<h4 id="org98c570b">Pager View Options</h4>
|
|
<div class="outline-text-4" id="text-org98c570b">
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf"><span class="org-variable-name">set pager_index_lines</span> = <span class="org-highlight-numbers-number">10</span> <span class="org-comment-delimiter"># </span><span class="org-comment">number of index lines to show</span>
|
|
<span class="org-variable-name">set pager_context</span> = <span class="org-highlight-numbers-number">3</span> <span class="org-comment-delimiter"># </span><span class="org-comment">number of context lines to show</span>
|
|
set pager_stop <span class="org-comment-delimiter"># </span><span class="org-comment">don't go to next message automatically</span>
|
|
set menu_scroll <span class="org-comment-delimiter"># </span><span class="org-comment">scroll in menus</span>
|
|
set tilde <span class="org-comment-delimiter"># </span><span class="org-comment">show tildes like in vim</span>
|
|
<span class="org-variable-name">set markers</span> = no <span class="org-comment-delimiter"># </span><span class="org-comment">no ugly plus signs</span>
|
|
<span class="org-variable-name">set quote_regexp</span> = <span class="org-string">"^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+"</span>
|
|
|
|
auto_view text/html <span class="org-comment-delimiter"># </span><span class="org-comment">view html automatically</span>
|
|
alternative_order text/plain text/enriched text/html <span class="org-comment-delimiter"># </span><span class="org-comment">save html for last</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org8f1ca42" class="outline-4">
|
|
<h4 id="org8f1ca42">Compose View Options</h4>
|
|
<div class="outline-text-4" id="text-org8f1ca42">
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf">set sig_dashes <span class="org-comment-delimiter"># </span><span class="org-comment">dashes before sig</span>
|
|
set sig_on_top <span class="org-comment-delimiter"># </span><span class="org-comment">the signature is just below the response</span>
|
|
set edit_headers <span class="org-comment-delimiter"># </span><span class="org-comment">show headers when composing</span>
|
|
set fast_reply <span class="org-comment-delimiter"># </span><span class="org-comment">skip to compose when replying</span>
|
|
set fcc_attach <span class="org-comment-delimiter"># </span><span class="org-comment">save attachments with the body</span>
|
|
<span class="org-variable-name">set attribution</span> = <span class="org-string">"On %d, %n wrote:"</span> <span class="org-comment-delimiter"># </span><span class="org-comment">format of quoting header</span>
|
|
set reply_to <span class="org-comment-delimiter"># </span><span class="org-comment">reply to Reply to: field</span>
|
|
set reverse_name <span class="org-comment-delimiter"># </span><span class="org-comment">reply as whomever it was to</span>
|
|
set include <span class="org-comment-delimiter"># </span><span class="org-comment">include message in replies</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org81a2b65" class="outline-4">
|
|
<h4 id="org81a2b65">Forward</h4>
|
|
<div class="outline-text-4" id="text-org81a2b65">
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf"><span class="org-variable-name">set forward_format</span> = <span class="org-string">"Fwd: %s"</span> <span class="org-comment-delimiter"># </span><span class="org-comment">format of subject when forwarding</span>
|
|
set forward_decode <span class="org-comment-delimiter"># </span><span class="org-comment">decode when forwarding</span>
|
|
set forward_quote <span class="org-comment-delimiter"># </span><span class="org-comment">include message in forwards</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org6f5a08c" class="outline-4">
|
|
<h4 id="org6f5a08c">Headers</h4>
|
|
<div class="outline-text-4" id="text-org6f5a08c">
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf">ignore * <span class="org-comment-delimiter"># </span><span class="org-comment">ignore all headers</span>
|
|
unignore from: to: cc: date: subject: <span class="org-comment-delimiter"># </span><span class="org-comment">show only these</span>
|
|
unhdr_order *
|
|
hdr_order from: to: cc: date: subject: <span class="org-comment-delimiter"># </span><span class="org-comment">and in this order</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org16ab6f1" class="outline-3">
|
|
<h3 id="org16ab6f1">Sidebar</h3>
|
|
<div class="outline-text-3" id="text-org16ab6f1">
|
|
</div>
|
|
<div id="outline-container-org4d92dd9" class="outline-4">
|
|
<h4 id="org4d92dd9">General Config</h4>
|
|
<div class="outline-text-4" id="text-org4d92dd9">
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Should the Sidebar be shown?</span>
|
|
<span class="org-variable-name">set sidebar_visible</span> = yes
|
|
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">How wide should the Sidebar be in screen columns?</span>
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Note: Some characters, e.g. Chinese, take up two columns each.</span>
|
|
<span class="org-variable-name">set sidebar_width</span> = <span class="org-highlight-numbers-number">20</span>
|
|
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Should the mailbox paths be abbreviated?</span>
|
|
<span class="org-variable-name">set sidebar_short_path</span> = yes
|
|
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">When abbreviating mailbox path names, use any of these characters as path</span>
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">separators. Only the part after the last separators will be shown.</span>
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">For file folders '/' is good. For IMAP folders, often '.' is useful.</span>
|
|
<span class="org-variable-name">set sidebar_delim_chars</span> = <span class="org-string">'/.'</span>
|
|
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">If the mailbox path is abbreviated, should it be indented?</span>
|
|
<span class="org-variable-name">set sidebar_folder_indent</span> = yes
|
|
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Indent mailbox paths with this string.</span>
|
|
<span class="org-variable-name">set sidebar_indent_string</span> = <span class="org-string">' '</span>
|
|
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Make the Sidebar only display mailboxes that contain new, or flagged,</span>
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">mail.</span>
|
|
<span class="org-variable-name">set sidebar_new_mail_only</span> = no
|
|
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Any mailboxes that are whitelisted will always be visible, even if the</span>
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">sidebar_new_mail_only option is enabled.</span>
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">sidebar_whitelist '/home/user/mailbox1'</span>
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">sidebar_whitelist '/home/user/mailbox2'</span>
|
|
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">When searching for mailboxes containing new mail, should the search wrap</span>
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">around when it reaches the end of the list?</span>
|
|
<span class="org-variable-name">set sidebar_next_new_wrap</span> = no
|
|
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Show the Sidebar on the right-hand side of the screen</span>
|
|
<span class="org-variable-name">set sidebar_on_right</span> = no
|
|
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">The character to use as the divider between the Sidebar and the other Mutt</span>
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">panels.</span>
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Note: Only the first character of this string is used.</span>
|
|
<span class="org-variable-name">set sidebar_divider_char</span> = <span class="org-string">'│'</span>
|
|
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Enable extended buffy mode to calculate total, new, and flagged</span>
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">message counts for each mailbox.</span>
|
|
set mail_check_stats
|
|
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Display the Sidebar mailboxes using this format string.</span>
|
|
<span class="org-variable-name">set sidebar_format</span> = <span class="org-string">'%D %* %?N?[%N]?'</span>
|
|
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">Sort the mailboxes in the Sidebar using this method:</span>
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">count - total number of messages</span>
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">flagged - number of flagged messages</span>
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">new - number of new messages</span>
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">path - mailbox path</span>
|
|
<span class="org-comment-delimiter"># </span><span class="org-comment">unsorted - do not sort the mailboxes</span>
|
|
<span class="org-variable-name">set sidebar_sort_method</span> = <span class="org-string">'unsorted'</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org7f77af5" class="outline-4">
|
|
<h4 id="org7f77af5">Mailboxes to show in the sidebar.</h4>
|
|
<div class="outline-text-4" id="text-org7f77af5">
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf">named-mailboxes <span class="org-string">"  Search"</span> =search
|
|
named-mailboxes <span class="org-string">" GMAIL"</span> =empty/gmail
|
|
named-mailboxes <span class="org-string">"  Inbox"</span> =gmail/Inbox
|
|
named-mailboxes <span class="org-string">"  Sent"</span> =gmail/Sent
|
|
named-mailboxes <span class="org-string">"  Drafts"</span> =gmail/Drafts
|
|
named-mailboxes <span class="org-string">" ﮊ Archive"</span> =gmail/Archive
|
|
named-mailboxes <span class="org-string">"  Trash"</span> =gmail/Trash
|
|
named-mailboxes <span class="org-string">" ESRF"</span> =empty/esrf
|
|
named-mailboxes <span class="org-string">"  Inbox"</span> =esrf/Inbox
|
|
named-mailboxes <span class="org-string">"  Sent"</span> =esrf/Sent
|
|
named-mailboxes <span class="org-string">"  Drafts"</span> =esrf/Drafts
|
|
named-mailboxes <span class="org-string">" ﮊ Archive"</span> =esrf/Archive
|
|
named-mailboxes <span class="org-string">"  Trash"</span> =esrf/Trash
|
|
</pre>
|
|
</div>
|
|
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf">unset move
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org9478e31" class="outline-3">
|
|
<h3 id="org9478e31">Attachments</h3>
|
|
<div class="outline-text-3" id="text-org9478e31">
|
|
</div>
|
|
<div id="outline-container-orgb6538f1" class="outline-4">
|
|
<h4 id="orgb6538f1">Attachment View Options</h4>
|
|
<div class="outline-text-4" id="text-orgb6538f1">
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf"><span class="org-variable-name">set attach_format</span> = <span class="org-string">"[%D %t] %2n [%-7.7m/%10.10M] %.40d %> [%s] "</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgac93184" class="outline-4">
|
|
<h4 id="orgac93184">Open Attachment</h4>
|
|
<div class="outline-text-4" id="text-orgac93184">
|
|
<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-org11b72bc" class="outline-4">
|
|
<h4 id="org11b72bc">Attach multiple files at once</h4>
|
|
<div class="outline-text-4" id="text-org11b72bc">
|
|
<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><enter></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-org1b18bf4" class="outline-4">
|
|
<h4 id="org1b18bf4">Forgotten Attachment</h4>
|
|
<div class="outline-text-4" id="text-org1b18bf4">
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf"><span class="org-variable-name">set abort_noattach</span> = ask-yes
|
|
<span class="org-variable-name">set abort_noattach_regex</span> = <span class="org-string">"\\<(attach(|ed|ments?)|(attaché|attachés|attache|attachons|joint|jointe|joints|jointes|joins|joignons))\\>"</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgd1da97d" class="outline-3">
|
|
<h3 id="orgd1da97d">Scripts and other config files</h3>
|
|
<div class="outline-text-3" id="text-orgd1da97d">
|
|
</div>
|
|
|
|
<div id="outline-container-org9179fe8" class="outline-4">
|
|
<h4 id="org9179fe8">Search Mail</h4>
|
|
<div class="outline-text-4" id="text-org9179fe8">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash"><span class="org-variable-name">arg_subject</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">rofi</span> -p <span class="org-string">"Search"</span> -dmenu<span class="org-rainbow-delimiters-depth-1">)</span>
|
|
|
|
<span class="org-variable-name">arg_from</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">rofi</span> -p <span class="org-string">"From"</span> -dmenu<span class="org-rainbow-delimiters-depth-1">)</span>
|
|
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> <span class="org-negation-char">!</span> -z <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">arg_from</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
|
|
<span class="org-variable-name">arg_from</span>=<span class="org-string">"from:</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{arg_from}</span></span><span class="org-string">"</span>
|
|
<span class="org-keyword">fi</span>
|
|
|
|
<span class="org-variable-name">arg_to</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">rofi</span> -p <span class="org-string">"To"</span> -dmenu<span class="org-rainbow-delimiters-depth-1">)</span>
|
|
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> <span class="org-negation-char">!</span> -z <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">arg_to</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
|
|
<span class="org-variable-name">arg_to</span>=<span class="org-string">"to:</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{arg_to}</span></span><span class="org-string">"</span>
|
|
<span class="org-keyword">fi</span>
|
|
|
|
<span class="org-variable-name">arg_mime</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">echo</span> -e <span class="org-string">"\napplication/pdf\nimage/*\nvideo/*"</span> | rofi -i -p <span class="org-string">"Mime"</span> -dmenu<span class="org-rainbow-delimiters-depth-1">)</span>
|
|
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> <span class="org-negation-char">!</span> -z <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">arg_mime</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
|
|
<span class="org-variable-name">arg_mime</span>=<span class="org-string">"mime:</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{arg_mime}</span></span><span class="org-string">"</span>
|
|
<span class="org-keyword">fi</span>
|
|
|
|
mu <span class="org-type">find</span> --clearlinks --format=links --linksdir=~/.mail/search <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{arg_from}</span></span><span class="org-string"> </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{arg_to}</span></span><span class="org-string"> </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{arg_mime}</span></span><span class="org-string"> </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{arg_subject}</span></span><span class="org-string">"</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgc3d3627" class="outline-4">
|
|
<h4 id="orgc3d3627">Send Mail Script</h4>
|
|
<div class="outline-text-4" id="text-orgc3d3627">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash">msmtp -a $<span class="org-highlight-numbers-number">1</span> $<span class="org-rainbow-delimiters-depth-1">{</span><span class="org-variable-name">@</span>:2<span class="org-rainbow-delimiters-depth-1">}</span> && <span class="org-sh-escaped-newline">\</span>
|
|
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> $<span class="org-variable-name">TMUX</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
|
|
tmux split -v -l <span class="org-highlight-numbers-number">1</span> mbsync $<span class="org-variable-name">1</span>-Sent && tmux select-pane -U
|
|
<span class="org-keyword">else</span>
|
|
mbsync $<span class="org-variable-name">1</span>-Sent
|
|
<span class="org-keyword">fi</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org7eba6bf" class="outline-4">
|
|
<h4 id="org7eba6bf">Sync Mail Script</h4>
|
|
<div class="outline-text-4" id="text-org7eba6bf">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash"><span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> $<span class="org-variable-name">TMUX</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
|
|
tmux split -v -l <span class="org-highlight-numbers-number">1</span> checkmail $<span class="org-highlight-numbers-number">1</span> && tmux select-pane -U
|
|
<span class="org-keyword">else</span>
|
|
checkmail $<span class="org-highlight-numbers-number">1</span>
|
|
<span class="org-keyword">fi</span>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org313ac8f" class="outline-4">
|
|
<h4 id="org313ac8f">Openfile Scripts</h4>
|
|
<div class="outline-text-4" id="text-org313ac8f">
|
|
<div class="org-src-container">
|
|
<pre class="src src-bash"><span class="org-variable-name">base</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">basename</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
|
<span class="org-variable-name">ext</span>=<span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{base##*.}</span></span><span class="org-string">"</span>
|
|
|
|
<span class="org-variable-name">file</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">mktemp</span> -u --suffix=<span class="org-string">".</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">ext</span></span><span class="org-string">"</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
|
|
|
<span class="org-type">rm</span> -f <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">file</span></span><span class="org-string">"</span>
|
|
|
|
<span class="org-type">cp</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">file</span></span><span class="org-string">"</span>
|
|
|
|
setsid xdg-open <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">file</span></span><span class="org-string">"</span> >/dev/null <span class="org-highlight-numbers-number">2</span>>&<span class="org-highlight-numbers-number">1</span> &
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-org5e8881f" class="outline-4">
|
|
<h4 id="org5e8881f">urlview Config</h4>
|
|
<div class="outline-text-4" id="text-org5e8881f">
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf">REGEXP (((http|https|ftp|gopher)|mailto)[.:][^ ><span class="org-string">"\t]*|www\.[-a-z0-9.]+)[^ .,;\t>"</span>>\):]
|
|
|
|
COMMAND nohup qutebrowser %s </dev/null &>/dev/null &
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="outline-container-orgd9e9819" class="outline-4">
|
|
<h4 id="orgd9e9819">Mailcap</h4>
|
|
<div class="outline-text-4" id="text-orgd9e9819">
|
|
<p>
|
|
Generic
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf">text/plain; nvim %s
|
|
video/*; setsid mpv --quiet %s &
|
|
image/*; sxiv -a -b %s &
|
|
application/pdf; zathura %s &
|
|
audio/*; /usr/bin/xdg-open %s; copiousoutput
|
|
<span class="org-variable-name">text/html; export DISPLAY</span>=:<span class="org-highlight-numbers-number">0</span> && setsid qutebrowser %s > /dev/null 2>&1 &; nametemplate=%s.html
|
|
<span class="org-variable-name">text/html; lynx -width ${COLUMNS:-80} -dump %s; nametemplate</span>=%s.html; copiousoutput;
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
For calendar output, a personal <code>ics-add</code> script is used.
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf">text/calendar; ics-add %s; copiousoutput;
|
|
application/ics; ics-add %s; copiousoutput;
|
|
</pre>
|
|
</div>
|
|
|
|
<p>
|
|
Libreoffice
|
|
</p>
|
|
<div class="org-src-container">
|
|
<pre class="src src-conf">application/docx; libreoffice %s --nologo &; copiousoutput;
|
|
application/doc; libreoffice --nologo %s &; copiousoutput;
|
|
|
|
application/vnd.oasis.opendocument.database; libreoffice --nologo --base <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.oasis.opendocument.chart; libreoffice --nologo --calc <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.oasis.opendocument.spreadsheet; libreoffice --nologo --calc <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.oasis.opendocument.spreadsheet-template; libreoffice --nologo --calc <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.oasis.opendocument.graphics; libreoffice --nologo --draw <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.oasis.opendocument.graphics-template; libreoffice --nologo --draw <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.oasis.opendocument.presentation; libreoffice --nologo --impress <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.oasis.opendocument.presentation-template; libreoffice --nologo --impress <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.oasis.opendocument.formula; libreoffice --nologo --math <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.oasis.opendocument.text; libreoffice --nologo --writer <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.oasis.opendocument.text-master; libreoffice --nologo -global <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.oasis.opendocument.text-template; libreoffice --nologo --writer <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.oasis.opendocument.text-web; libreoffice --nologo -web <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.sun.xml.base; libreoffice --nologo --writer <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.sun.xml.calc; libreoffice --nologo --calc <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.sun.xml.calc.template; libreoffice --nologo --calc <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.sun.xml.draw; libreoffice --nologo --draw <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.sun.xml.draw.template; libreoffice --nologo --draw <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.stardivision.calc; libreoffice --nologo --calc <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.stardivision.chart; libreoffice --nologo --calc <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.stardivision.draw; libreoffice --nologo --draw <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.stardivision.impress; libreoffice --nologo --impress <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.stardivision.math; libreoffice --nologo --math <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.stardivision.writer-global; libreoffice --nologo --writer <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.stardivision.writer; libreoffice --nologo --writer <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.sun.xml.impress; libreoffice --nologo --impress <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.sun.xml.impress.template; libreoffice --nologo --impress <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.sun.xml.math; libreoffice --nologo --math <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.sun.xml.writer; libreoffice --nologo --writer <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.sun.xml.writer.global; libreoffice --nologo -global <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.sun.xml.writer.template; libreoffice --nologo --writer <span class="org-string">'%s'</span>; copiousoutput
|
|
text/csv; libreoffice --nologo --calc <span class="org-string">'%s'</span>; copiousoutput
|
|
text/spreadsheet; libreoffice --nologo --calc <span class="org-string">'%s'</span>; copiousoutput
|
|
application/x-quattropro; libreoffice --nologo --calc <span class="org-string">'%s'</span>; copiousoutput
|
|
application/x-dbf; libreoffice --nologo --calc <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.ms-excel.sheet.macroEnabled.12; libreoffice --nologo --calc <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.ms-excel.template.macroEnabled.12; libreoffice --nologo --calc <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; libreoffice --nologo --calc <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.openxmlformats-officedocument.spreadsheetml.template; libreoffice --nologo --calc <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.lotus-1-2-3; libreoffice --nologo --calc <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.ms-excel; libreoffice --nologo --calc <span class="org-string">'%s'</span>; copiousoutput
|
|
application/msexcel; libreoffice --nologo --calc <span class="org-string">'%s'</span>; copiousoutput
|
|
application/x-dbase; libreoffice --nologo --calc <span class="org-string">'%s'</span>; copiousoutput
|
|
text/x-csv; libreoffice --nologo --calc <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.ms-powerpoint.presentation.macroEnabled.12; libreoffice --nologo --impress <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.ms-powerpoint.slideshow.macroEnabled.12; libreoffice --nologo --impress <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.ms-powerpoint.template.macroEnabled.12; libreoffice --nologo --impress <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.openxmlformats-officedocument.presentationml.presentation; libreoffice --nologo --impress <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.openxmlformats-officedocument.presentationml.slideshow; libreoffice --nologo --impress <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.openxmlformats-officedocument.presentationml.template; libreoffice --nologo --impress <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.ms-powerpoint; libreoffice --nologo --impress <span class="org-string">'%s'</span>; copiousoutput
|
|
application/mspowerpoint; libreoffice --nologo --impress <span class="org-string">'%s'</span>; copiousoutput
|
|
text/mathml; libreoffice --nologo --math <span class="org-string">'%s'</span>; copiousoutput
|
|
application/rtf; libreoffice --nologo --writer <span class="org-string">'%s'</span>; copiousoutput
|
|
application/x-t602; libreoffice --nologo --writer <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.wordperfect; libreoffice --nologo --writer <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.ms-word.document.macroEnabled.12; libreoffice --nologo --writer <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.ms-word.template.macroEnabled.12; libreoffice --nologo --writer <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.openxmlformats-officedocument.wordprocessingml.document; libreoffice --nologo --writer <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.openxmlformats-officedocument.wordprocessingml.template; libreoffice --nologo --writer <span class="org-string">'%s'</span>; copiousoutput
|
|
application/vnd.ms-works; libreoffice --nologo --writer <span class="org-string">'%s'</span>; copiousoutput
|
|
application/msword; libreoffice --nologo --writer <span class="org-string">'%s'</span>; copiousoutput
|
|
application/wordperfect; libreoffice --nologo --writer <span class="org-string">'%s'</span>; copiousoutput
|
|
text/rtf; libreoffice --nologo --writer <span class="org-string">'%s'</span>; copiousoutput
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="postamble" class="status">
|
|
<p class="author">Author: Dehaeze Thomas</p>
|
|
<p class="date">Created: 2022-05-09 lun. 10:04</p>
|
|
</div>
|
|
</body>
|
|
</html>
|