summary refs log tree commit diff
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2020-01-29 16:14:39 +0100
committerRobert Günzler <r@gnzler.io>2020-01-29 17:55:11 +0100
commit9a419430055acd70789269e1bdfd97cc50dc5d4e (patch)
treefdb3cc5356dbc3fe55590d36ff1c62bc67af243f
parent328c8ca1ae7bedf0a5a7da25480019bcb668b875 (diff)
aerc: Update config for >=0.3 and add personal binds
-rw-r--r--.config/aerc/aerc.conf39
-rw-r--r--.config/aerc/binds.conf8
2 files changed, 45 insertions, 2 deletions
diff --git a/.config/aerc/aerc.conf b/.config/aerc/aerc.conf
index 855ce3d..022c7dc 100644
--- a/.config/aerc/aerc.conf
+++ b/.config/aerc/aerc.conf
@@ -7,7 +7,7 @@
 # with mutt's printf-like syntax.
 #
 # Default:
-index-format=%D %-40.40n %s
+index-format=%D %-40.40n %Z %s
 
 #
 # See time.Time#Format at https://godoc.org/time#Time.Format
@@ -48,6 +48,20 @@ new-message-bell=true
 # Default: %n %>r
 dirlist-format=%n %>r
 
+# List of space-separated criteria to sort the messages by, see *sort*
+# command in *aerc*(1) for reference. Prefixing a criterion with "-r "
+# reverses that criterion.
+#
+# Example: "from -r date"
+#
+# Default: ""
+sort=date
+
+# Moves to next message when the current message is deleted
+#
+# Default: false
+next-message-on-delete=true
+
 [viewer]
 #
 # Specifies the pager to use when displaying emails. Note that some filters
@@ -85,6 +99,17 @@ header-layout=From|To,Cc|Bcc,Date,Subject
 # Default: false
 always-show-mime=true
 
+# How long to wait after the last input before auto-completion is triggered.
+#
+# Default: 250ms
+completion-delay=250ms
+
+#
+# Global switch for completion popovers
+#
+# Default: true
+completion-popovers=true
+
 [compose]
 #
 # Specifies the command to run the editor with. It will be shown in an embedded
@@ -99,6 +124,18 @@ editor=
 # Default: To|From,Subject
 header-layout=To|From,Subject
 
+#
+# Specifies the command to be used to tab-complete email addresses. Any
+# occurrence of "%s" in the address-book-cmd will be replaced with what the
+# user has typed so far.
+#
+# The command must output the completions to standard output, one completion
+# per line. Each line must be tab-delimited, with an email address occurring as
+# the first field. Only the email address field is required. The second field,
+# if present, will be treated as the contact name. Additional fields are
+# ignored.
+address-book-cmd=
+
 [filters]
 #
 # Filters allow you to pipe an email body through a shell command to render
diff --git a/.config/aerc/binds.conf b/.config/aerc/binds.conf
index 6037267..11c8947 100644
--- a/.config/aerc/binds.conf
+++ b/.config/aerc/binds.conf
@@ -25,11 +25,17 @@ G = :select -1<Enter>
 J = :next-folder<Enter>
 K = :prev-folder<Enter>
 
+v = :mark -t<Enter>
+V = :mark -v<Enter>
+
 <Enter> = :view<Enter>
 # d = :confirm 'Really delete this message?' ':delete-message<Enter>'<Enter>
-d = :mv Trash<Enter>
+dd = :mv Trash<Enter>
 D = :delete<Enter>
 a = :archive year<Enter>
+L = :mv lists<Enter>
+U = :filter -u<Enter>
+fc = :filter ''<Enter>
 
 C = :compose<Enter>