[mutt] Add urlview to mail configuration

This commit is contained in:
Eryn Wells 2018-04-22 07:47:31 -07:00
parent 3e99afc753
commit dffade6d28
2 changed files with 3 additions and 1 deletions

View file

@ -2,7 +2,7 @@
- hosts: localhost - hosts: localhost
vars: vars:
dotfiles: ~/.dotfiles dotfiles: ~/.dotfiles
packages: [mutt, offlineimap, w3m] packages: [mutt, offlineimap, urlview, w3m]
tasks: tasks:
- name: "Install packages: {{ packages|join(', ') }}" - name: "Install packages: {{ packages|join(', ') }}"
homebrew: name={{ packages }} state=present homebrew: name={{ packages }} state=present

2
muttrc
View file

@ -78,6 +78,8 @@ bind index <space> collapse-thread
macro index O "<shell-escape>offlineimap<enter>" macro index O "<shell-escape>offlineimap<enter>"
macro index o "<shell-escape>offlineimap -qf INBOX<enter>" macro index o "<shell-escape>offlineimap -qf INBOX<enter>"
macro pager \Cu "|urlview<enter>" "call urlview to open links"
# Some resources for colors: # Some resources for colors:
# http://www.strcat.de/dotfiles/mutt.color # http://www.strcat.de/dotfiles/mutt.color
# https://github.com/altercation/mutt-colors-solarized/blob/master/mutt-colors-solarized-dark-256.muttrc # https://github.com/altercation/mutt-colors-solarized/blob/master/mutt-colors-solarized-dark-256.muttrc