From 9a419430055acd70789269e1bdfd97cc50dc5d4e Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Wed, 29 Jan 2020 16:14:39 +0100 Subject: aerc: Update config for >=0.3 and add personal binds --- .config/aerc/aerc.conf | 39 ++++++++++++++++++++++++++++++++++++++- .config/aerc/binds.conf | 8 +++++++- 2 files changed, 45 insertions(+), 2 deletions(-) (limited to '.config/aerc') 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 J = :next-folder K = :prev-folder +v = :mark -t +V = :mark -v + = :view # d = :confirm 'Really delete this message?' ':delete-message' -d = :mv Trash +dd = :mv Trash D = :delete a = :archive year +L = :mv lists +U = :filter -u +fc = :filter '' C = :compose -- cgit 1.4.1