]> git.zndr.dk Git - dotfiles.git/commitdiff
Add muttrc
authorJannik ZANDER <jannikz@gmail.com>
Sat, 21 Jul 2018 20:33:59 +0000 (22:33 +0200)
committerJannik ZANDER <jannikz@gmail.com>
Sat, 21 Jul 2018 20:33:59 +0000 (22:33 +0200)
.mutt/keybindings [new file with mode: 0644]
.mutt/muttrc [new file with mode: 0644]
.mutt/signature [new file with mode: 0644]
notes/Makefile [deleted file]

diff --git a/.mutt/keybindings b/.mutt/keybindings
new file mode 100644 (file)
index 0000000..4f8c237
--- /dev/null
@@ -0,0 +1,53 @@
+bind generic,index Q exit
+bind editor <space> noop
+bind editor <Tab> complete-query
+
+bind browser gg  top-page
+bind browser G   bottom-page
+bind browser \Cb previous-page
+bind browser \Cf next-page
+bind browser A   check-new
+bind browser v   view-file
+
+bind index ~   set-flag
+bind index \Cv what-key
+bind index H   current-top
+bind index M   current-middle
+bind index L   current-bottom
+bind index /   search
+bind index :   enter-command
+bind index i   mail
+
+bind pager i   edit
+bind pager u   mark-as-new
+bind pager gg  top
+bind pager G   bottom
+bind pager j   next-line
+bind pager k   previous-line
+
+bind index,attach gg  first-entry
+bind index,attach G   last-entry
+
+bind index,pager L   list-reply
+# bind index,pager P   print-message
+bind index,pager R   group-reply
+bind index,pager \Cd half-down
+bind index,pager \Cu half-up
+bind index,pager \Cf next-page
+bind index,pager \Cb previous-page
+bind index,pager \Cn next-thread
+bind index,pager \Cp previous-thread
+
+bind index,pager f forward-message
+bind index,pager p previous-undeleted
+bind index,pager N next-unread
+bind index,pager P previous-unread
+
+bind index,pager X print-message
+
+macro index Z "<shell-escape>mu find --clearlinks --format=links --linksdir=~/.mu/results " "mu find"
+macro index S "<change-folder-readonly>~/.mu/results<enter>" "mu find results"
+
+macro attach s <save-entry><kill-line>$HOME<enter> "Save to default directory for attachments"
+
+# vim: ft=muttrc
diff --git a/.mutt/muttrc b/.mutt/muttrc
new file mode 100644 (file)
index 0000000..82b861a
--- /dev/null
@@ -0,0 +1,62 @@
+set editor              = "vim -c start"
+set realname            = "Jannik Zander"
+
+source ~/.mutt/accounts/gmail
+#source ~/.mutt/muttgpg
+source ~/.mutt/keybindings
+#source ~/.mutt/colorscheme
+
+set mbox_type           = Maildir
+set mbox                = "+[Gmail].All Mail"
+set postponed           = "+[Gmail].Drafts"
+set mail_check          = 0
+
+# goobook
+set sort_alias          = alias
+set reverse_alias       = yes
+
+mailboxes +INBOX +UTHSCSA
+alternative_order text/plain text/enriched text/html
+auto_view text/html
+
+set print_command="muttdoc | pandoc --template=email.tex -V fullpage --latex-engine=xelatex --listings -o ~/email.pdf"
+
+ignore *
+unignore from: subject to cc date x-mailer x-url user-agent
+hdr_order date from to cc subject
+
+set header_cache        = ~/.mutt/cache/headers
+set message_cachedir    = ~/.mutt/cache/bodies
+set certificate_file    = ~/.mutt/certificates
+set mailcap_path        = ~/.mutt/mailcap
+set signature           = ~/.mutt/signature
+
+set forward_edit        = ask-yes
+set forward_format      = "Fwd: %s"
+set include             = yes
+set mime_forward        = yes
+set mime_forward_rest   = yes
+set move                = no
+set print               = yes
+set quit                = yes
+set sig_dashes          = no
+set sort                = 'threads'
+set sort_aux            = 'reverse-last-date-received'
+set text_flowed         = yes
+set timeout             = 1
+
+set delete
+set envelope_from
+set fast_reply
+set forward_quote
+set reverse_name
+set sig_on_top
+set smart_wrap
+
+unset markers
+unset wait_key
+unset reply_self
+unset confirmappend
+unset move
+
+# vim: ft=muttrc
diff --git a/.mutt/signature b/.mutt/signature
new file mode 100644 (file)
index 0000000..a4b8a61
--- /dev/null
@@ -0,0 +1,5 @@
+
+
+- Jannik Zander 
+
+
diff --git a/notes/Makefile b/notes/Makefile
deleted file mode 100644 (file)
index 5711671..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-MDs := $(shell find -name '*.md')
-PDFs := $(patsubst %.md,%.pdf,$(MDs))
-HTMLs := $(patsubst %.md,%.html,$(MDs))
-HTML_FLAGS =
-PDF_FLAGS = --pdf-engine=pdflatex
-
-all: $(PDFs)
-
-html: $(HTMLs)
-
-clean:
-       @rm -f $(PDFs) $(HTMLs)
-
-%.pdf: %.md
-       pandoc $(PDF_FLAGS) -o $@ $<
-
-%.html: %.md
-       pandoc $(HTML_FLAGS) -o $@ $<