dotfiles

$HOME is where the <3 is
git clone git://git.alexkarle.com/dotfiles.git
Log | Files | Refs | Submodules | README

commit 2a3d298f0ba94cac02df0ff5216a075ae285b7bf (patch)
parent 0358127a1be7cee0432d5d5a47d4c57039d1d503
Author: Alex Karle <alex@karle.co>
Date:   Tue, 16 Jul 2019 14:51:03 -0400

[mutt] small changes (see log below)

    1. For text/plain items, open them in $EDITOR - Useful for opening
       large attachments
    2. For smtp, always enforce tls
    3. Show a bit of the index when in the pager (nice to see where you
       are in a thread).

Diffstat:
Mmutt/mailcap | 1+
Mmutt/muttrc | 5+++++
2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/mutt/mailcap b/mutt/mailcap @@ -2,3 +2,4 @@ text/html; firefox '%s' &; test=test -n "$DISPLAY"; needsterminal; text/html; w3m -I %{charset} -T text/html; copiousoutput; image/*; xdg-open '%s' &; test=test -n "$DISPLAY"; needsterminal; application/pdf; xdg-open '%s' &; test=test -n "$DISPLAY"; needsterminal; +text/plain; $EDITOR '%s'; diff --git a/mutt/muttrc b/mutt/muttrc @@ -5,6 +5,8 @@ # General source ~/.config/mutt/muttrc.local +set ssl_force_tls = yes # Require encrypted connection + # Appearance # TODO: maybe one day a color scheme... set sort=threads @@ -29,6 +31,9 @@ my_hdr BCC: $from # Use the `abook` program for contact management/completions set query_command="abook --mutt-query '%s'" +# Show some index in the pager +set pager_index_lines=10 + ################################################################################ # Bindings # I've chosen to customize-as-I-go on these. Some general guiding rules: