commit 732f483e2ecd5361e709418117ee13f82d1b2b59
parent cceef7e5b57f54c77de6f43b68384c25423453f2
Author: Jake Bauer <jbauer@paritybit.ca>
Date: Wed, 6 May 2020 00:13:17 -0400
Publish new blog post
Diffstat:
7 files changed, 144 insertions(+), 2 deletions(-)
diff --git a/pages/blog.md b/pages/blog.md
@@ -20,6 +20,7 @@ href="https://social.paritybit.ca/@jbauer">Mastodon</a>.
### 2020
<ul>
+ <li>2020-05-05 <a href="blog/refining-my-neomutt-config">Refining My Neomutt Configuration</a></li>
<li>2020-05-04 <a href="blog/clone-wars-finale">Star Wars: The Clone Wars Finale</a></li>
<li>2020-05-03 <a href="blog/the-diefenbunker-museum">The Diefenbunker Museum</a></li>
<li>2020-05-02 <a href="blog/the-disappearance-of-one">The Disappearance of <em>One</em></a></li>
diff --git a/pages/blog/refining-my-neomutt-config.md b/pages/blog/refining-my-neomutt-config.md
@@ -0,0 +1,68 @@
+## Refining My Neomutt Configuration
+
+[//]: # "Over the past few days I have been tinkering and tweaking with my Neomutt configuration to make my experience just a little bit better."
+
+[//]: # "main.min.css"
+
+[//]: #
+
+<div class="byline">
+<b>Written By:</b> Jake Bauer |
+ <b>Posted:</b> 2020-05-05 |
+ <b>Last Updated:</b> 2020-05-05
+</div>
+
+<figure>
+ <a href="/img/neomutt.png"><img src="/img/neomutt-thumb.png"/></a>
+ <figcaption>Screenshot of Neomutt on my system.</figcaption>
+</figure>
+
+I use Neomutt as my email client. It's fast, treats `text/plain` email as a
+first-class citizen, and is terminal based so I can use it with vim keybindings.
+The configuration, though, is really complex and there's a lot that can be
+played with. Over the past few days, I've been tinkering and tweaking with it to
+make my email experience on the command line just a little bit better.
+
+One thing that I found annoying were `text/html` emails which relied so much on
+image content they had to be viewed in their HTML form. I used to save the body
+of these emails and then open them up in Firefox, but just by adding
+
+<pre><code>text/html; $BROWSER %s;
+</code></pre>
+
+to my `mailcap` file, I am able to open these bodies in Firefox from within
+Neomutt.
+
+Another thing I found cumbersome was the handling of contacts through an aliases
+file. Instead, I opted to install and use `abook` which is a contact program,
+used on the command line, designed for use with mutt. This should make storing
+and referring to my contacts easier than it used to be. The options that I used
+in my `neomuttrc` are:
+
+<pre><code>set query_command="abook --mutt-query '%s'"
+macro index,pager a \
+ "<pipe-message>abook --add-email-quiet<return>" \
+ "Add this sender to abook"
+bind editor <Tab> complete-query
+</code></pre>
+
+Some other minor changes include:
+
+* Moving the colour configuration into its own file so that the main `neomuttrc`
+ file is less cluttered.
+* Changing the date format to the ISO standard YYYY-MM-DD with time now in the
+ 24h clock.
+* Cleaning up unused keybindings
+* Moving my signature from my `~/docs` folder into `~/.config/neomutt` so that
+ it could be tracked with git.
+
+You can view my dotfiles on
+[sourcehut](https://git.sr.ht/~jbauer/dotfiles/tree/master/.config/neomutt) or
+mirrored on
+[git.paritybit.ca](https://git.paritybit.ca/jbauer/dotfiles/src/branch/master/.config/neomutt).
+Don't hesitate to share suggestions or comments!
+
+_This is my eleventh post for the
+[#100DaysToOffload](https://social.paritybit.ca/tags/100DaysToOffload)
+challenge. You can learn more about this challenge over at
+[https://100daystooffload.com](https://100daystooffload.com)._
diff --git a/pages/home.md b/pages/home.md
@@ -17,6 +17,8 @@ rel="me" href="https://social.paritybit.ca/@jbauer">on Mastodon</a>.
src="/img/feed-icon.png" width="15" height="15" alt="Click for RSS Feed"/>
</a>
</div>
+2020-05-05 <a class="feed-item" href="blog/refining-my-neomutt-config">Refining My Neomutt Configuration</a>
+
2020-05-04 <a class="feed-item" href="blog/clone-wars-finale">Star Wars: The Clone Wars Finale</a>
2020-05-03 <a class="feed-item" href="blog/the-diefenbunker-museum">The Diefenbunker Museum</a>
@@ -35,8 +37,6 @@ rel="me" href="https://social.paritybit.ca/@jbauer">on Mastodon</a>.
2020-04-26 <a class="feed-item" href="blog/how-much-ram-is-enough">I Ran Out of RAM... Again</a>
-2020-04-25 <a class="feed-item" href="blog/why-i-blog">Why I Blog and #100DaysToOffload</a>
-
### What is a Parity Bit?
It is a bit (in the 1's and 0's sense) used in checking for errors in digital
diff --git a/public/feeds/sitewide-feed.xml b/public/feeds/sitewide-feed.xml
@@ -7,6 +7,78 @@
<description>The feed that covers all notable additions, updates, announcements,
and other changes for the entire paritybit.ca website.</description>
<item>
+ <title>Refining My Neomutt Configuration</title>
+ <link>https://www.paritybit.ca/blog/refining-my-neomutt-config</link>
+ <guid>https://www.paritybit.ca/blog/refining-my-neomutt-config</guid>
+ <pubDate>Tue, 05 May 2020 23:56:04 -0400</pubDate>
+<description><![CDATA[<h2>Refining My Neomutt Configuration</h2>
+
+<div class="byline">
+<b>Written By:</b> Jake Bauer |
+ <b>Posted:</b> 2020-05-05 |
+ <b>Last Updated:</b> 2020-05-05
+</div>
+
+<p><figure>
+ <a href="/img/neomutt.png"><img src="/img/neomutt.png"/></a>
+ <figcaption>Screenshot of Neomutt on my system.</figcaption>
+</figure></p>
+
+<p>I use Neomutt as my email client. It's fast, treats <code>text/plain</code> email as a
+first-class citizen, and is terminal based so I can use it with vim keybindings.
+The configuration, though, is really complex and there's a lot that can be
+played with. Over the past few days, I've been tinkering and tweaking with it to
+make my email experience on the command line just a little bit better.</p>
+
+<p>One thing that I found annoying were <code>text/html</code> emails which relied so much on
+image content they had to be viewed in their HTML form. I used to save the body
+of these emails and then open them up in Firefox, but just by adding</p>
+
+<pre><code>
+text/html; $BROWSER %s;
+</code></pre>
+
+<p>to my <code>mailcap</code> file, I am able to open these bodies in Firefox from within
+Neomutt.</p>
+
+<p>Another thing I found cumbersome was the handling of contacts through an aliases
+file. Instead, I opted to install and use <code>abook</code> which is a contact program,
+used on the command line, designed for use with mutt. This should make storing
+and referring to my contacts easier than it used to be. The options that I used
+in my <code>neomuttrc</code> are:</p>
+
+<pre><code>
+set query_command="abook --mutt-query '%s'"
+macro index,pager a \
+ "<pipe-message>abook --add-email-quiet<return>" \
+ "Add this sender to abook"
+bind editor <Tab> complete-query
+</code></pre>
+
+<p>Some other minor changes include:</p>
+
+<ul>
+<li>Moving the colour configuration into its own file so that the main <code>neomuttrc</code>
+file is less cluttered.</li>
+<li>Changing the date format to the ISO standard YYYY-MM-DD with time now in the
+24h clock.</li>
+<li>Cleaning up unused keybindings</li>
+<li>Moving my signature from my <code>~/docs</code> folder into <code>~/.config/neomutt</code> so that
+it could be tracked with git.</li>
+</ul>
+
+<p>You can view my dotfiles on
+<a href="https://git.sr.ht/~jbauer/dotfiles/tree/master/.config/neomutt">sourcehut</a> or
+mirrored on
+<a href="https://git.paritybit.ca/jbauer/dotfiles/src/branch/master/.config/neomutt">git.paritybit.ca</a>.
+Don't hesitate to share suggestions or comments!</p>
+
+<p><em>This is my eleventh post for the
+<a href="https://social.paritybit.ca/tags/100DaysToOffload">#100DaysToOffload</a>
+challenge. You can learn more about this challenge over at
+<a href="https://100daystooffload.com">https://100daystooffload.com</a>.</em></p>]]></description>
+</item>
+<item>
<title>Star Wars: The Clone Wars Finale</title>
<link>https://www.paritybit.ca/blog/clone-wars-finale</link>
<guid>https://www.paritybit.ca/blog/clone-wars-finale</guid>
diff --git a/public/img/neomutt-thumb.png b/public/img/neomutt-thumb.png
Binary files differ.
diff --git a/public/img/neomutt.png b/public/img/neomutt.png
Binary files differ.
diff --git a/public/sitemap.xml b/public/sitemap.xml
@@ -3,6 +3,7 @@
<url><loc>https://www.paritybit.ca</loc></url>
<url><loc>https://www.paritybit.ca/home</loc></url>
<url><loc>https://www.paritybit.ca/blog</loc></url>
+ <url><loc>https://www.paritybit.ca/blog/refining-my-neomutt-config</loc></url>
<url><loc>https://www.paritybit.ca/blog/clone-wars-finale</loc></url>
<url><loc>https://www.paritybit.ca/blog/the-diefenbunker-museum</loc></url>
<url><loc>https://www.paritybit.ca/blog/the-disappearance-of-one</loc></url>