aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/aerc')
-rw-r--r--dot_config/aerc/aerc.conf344
-rw-r--r--dot_config/aerc/binds.conf122
2 files changed, 466 insertions, 0 deletions
diff --git a/dot_config/aerc/aerc.conf b/dot_config/aerc/aerc.conf
new file mode 100644
index 0000000..623d6a2
--- /dev/null
+++ b/dot_config/aerc/aerc.conf
@@ -0,0 +1,344 @@
1#
2# aerc main configuration
3
4[general]
5#
6# If set to "gpg", aerc will use system gpg binary and keystore for all crypto
7# operations. Otherwise, the internal openpgp implementation will be used.
8#
9# Default: internal
10pgp-provider=gpg
11
12# By default, the file permissions of accounts.conf must be restrictive and
13# only allow reading by the file owner (0600). Set this option to true to
14# ignore this permission check. Use this with care as it may expose your
15# credentials.
16#
17# Default: false
18unsafe-accounts-conf=false
19
20[ui]
21#
22# Describes the format for each row in a mailbox view. This field is compatible
23# with mutt's printf-like syntax.
24#
25# Default: %D %-17.17n %Z %s
26index-format=%-20.20D %-17.17n %Z %s
27
28#
29# See time.Time#Format at https://godoc.org/time#Time.Format
30#
31# Default: 2006-01-02 03:04 PM (ISO 8601 + 12 hour time)
32timestamp-format=2006-01-02 03:04 PM
33
34#
35# Index-only time format for messages that were received/sent today.
36# If this is not specified, timestamp-format is used instead.
37#
38# Default: "03:04 PM" (12 hour time)
39this-day-time-format=03:04 PM
40
41#
42# Index-only time format for messages that were received/sent within the last
43# 7 days. If this is not specified, timestamp-format is used instead.
44#
45# Default: "Monday 03:04 PM" (Week day + 12 hour time)
46this-week-time-format=Monday 03:04 PM
47
48#
49# Index-only time format for messages that were received/sent this year.
50# If this is not specified, timestamp-format is used instead.
51#
52# Default: "January 02" (Month + month day)
53this-year-time-format=January 02
54
55#
56# Width of the sidebar, including the border.
57#
58# Default: 20
59sidebar-width=20
60
61#
62# Message to display when viewing an empty folder.
63#
64# Default: (no messages)
65empty-message=(no messages)
66
67# Message to display when no folders exists or are all filtered
68#
69# Default: (no folders)
70empty-dirlist=(no folders)
71
72# Enable mouse events in the ui, e.g. clicking and scrolling with the mousewheel
73#
74# Default: false
75mouse-enabled=true
76
77#
78# Ring the bell when new messages are received
79#
80# Default: true
81new-message-bell=false
82
83# Marker to show before a pinned tab's name.
84#
85# Default: `
86pinned-tab-marker='`'
87
88# Describes the format string to use for the directory list
89#
90# Default: %n %>r
91dirlist-format=%n %>r
92
93# Delay after which the messages are actually listed when entering a directory.
94# This avoids loading messages when skipping over folders and makes the UI more
95# responsive. If you do not want that, set it to 0s.
96#
97# Default: 200ms
98dirlist-delay=200ms
99
100# Display the directory list as a foldable tree that allows to collapse and
101# expand the folders.
102#
103# Default: false
104dirlist-tree=false
105
106# If dirlist-tree is enabled, set level at which folders are collapsed by
107# default. Set to 0 to disable.
108#
109# Default: 0
110dirlist-collapse=0
111
112# List of space-separated criteria to sort the messages by, see *sort*
113# command in *aerc*(1) for reference. Prefixing a criterion with "-r "
114# reverses that criterion.
115#
116# Example: "from -r date"
117#
118# Default: ""
119sort=
120
121# Moves to next message when the current message is deleted
122#
123# Default: true
124next-message-on-delete=true
125
126# The directories where the stylesets are stored. It takes a colon-separated
127# list of directories. If this is unset or if a styleset cannot be found, the
128# following paths will be used as a fallback in that order:
129#
130# ${XDG_CONFIG_HOME:-~/.config}/aerc/stylesets
131# ${XDG_DATA_HOME:-~/.local/share}/aerc/stylesets
132# /usr/local/share/aerc/stylesets
133# /usr/share/aerc/stylesets
134#
135# default: ""
136stylesets-dirs=
137
138# Uncomment to use box-drawing characters for vertical and horizontal borders.
139#
140# Default: spaces
141# border-char-vertical=│
142# border-char-horizontal=─
143
144# Sets the styleset to use for the aerc ui elements.
145#
146# Default: default
147styleset-name=default
148
149# Activates fuzzy search in commands and their arguments: the typed string is
150# searched in the command or option in any position, and need not be
151# consecutive characters in the command or option.
152#fuzzy-complete=false
153
154# How long to wait after the last input before auto-completion is triggered.
155#
156# Default: 250ms
157completion-delay=250ms
158
159#
160# Global switch for completion popovers
161#
162# Default: true
163completion-popovers=true
164
165# Uncomment to use UTF-8 symbols to indicate PGP status of messages
166#
167# Default: ASCII
168#icon-unencrypted=
169#icon-encrypted=✔
170#icon-signed=✔
171#icon-signed-encrypted=✔
172#icon-unknown=✘
173#icon-invalid=⚠
174
175#[ui:account=foo]
176#
177# Enable a threaded view of messages. If this is not supported by the backend
178# (IMAP server or notmuch), threads will be built by the client.
179#
180# Default: false
181#threading-enabled=false
182
183# Force client-side thread building
184#
185# Default: false
186#force-client-threads=false
187
188# Debounce client-side thread building
189#
190# Default: 50ms
191#client-threads-delay=50ms
192
193[statusline]
194# Describes the format string for the statusline.
195#
196# Default: [%a] %S %>%T
197render-format=[%a] %S %>%T
198
199# Specifies the separator between grouped statusline elements.
200#
201# Default: " | "
202# separator=
203
204# Defines the mode for displaying the status elements.
205# Options: text, icon
206#
207# Default: text
208# display-mode=
209
210[viewer]
211#
212# Specifies the pager to use when displaying emails. Note that some filters
213# may add ANSI codes to add color to rendered emails, so you may want to use a
214# pager which supports ANSI codes.
215#
216# Default: less -R
217pager=less -R
218
219#
220# If an email offers several versions (multipart), you can configure which
221# mimetype to prefer. For example, this can be used to prefer plaintext over
222# html emails.
223#
224# Default: text/plain,text/html
225alternatives=text/plain,text/html
226
227#
228# Default setting to determine whether to show full headers or only parsed
229# ones in message viewer.
230#
231# Default: false
232show-headers=false
233
234#
235# Layout of headers when viewing a message. To display multiple headers in the
236# same row, separate them with a pipe, e.g. "From|To". Rows will be hidden if
237# none of their specified headers are present in the message.
238#
239# Default: From|To,Cc|Bcc,Date,Subject
240header-layout=From|To,Cc|Bcc,Date,Subject
241
242# Whether to always show the mimetype of an email, even when it is just a single part
243#
244# Default: false
245always-show-mime=false
246
247# Parses and extracts http links when viewing a message. Links can then be
248# accessed with the open-link command.
249#
250# Default: true
251parse-http-links=true
252
253[compose]
254#
255# Specifies the command to run the editor with. It will be shown in an embedded
256# terminal, though it may also launch a graphical window if the environment
257# supports it. Defaults to $EDITOR, or vi.
258editor=
259
260#
261# Default header fields to display when composing a message. To display
262# multiple headers in the same row, separate them with a pipe, e.g. "To|From".
263#
264# Default: To|From,Subject
265header-layout=To|From,Subject
266
267#
268# Specifies the command to be used to tab-complete email addresses. Any
269# occurrence of "%s" in the address-book-cmd will be replaced with what the
270# user has typed so far.
271#
272# The command must output the completions to standard output, one completion
273# per line. Each line must be tab-delimited, with an email address occurring as
274# the first field. Only the email address field is required. The second field,
275# if present, will be treated as the contact name. Additional fields are
276# ignored.
277#
278# This parameter can also be set per account in accounts.conf.
279address-book-cmd=
280
281#
282# Allow to address yourself when replying
283#
284# Default: true
285reply-to-self=true
286
287[filters]
288#
289# Filters allow you to pipe an email body through a shell command to render
290# certain emails differently, e.g. highlighting them with ANSI escape codes.
291#
292# The first filter which matches the email's mimetype will be used, so order
293# them from most to least specific.
294#
295# You can also match on non-mimetypes, by prefixing with the header to match
296# against (non-case-sensitive) and a comma, e.g. subject,text will match a
297# subject which contains "text". Use header,~regex to match against a regex.
298#subject,~^\[PATCH=colordiff
299text/plain=sed 's/^>\+.*/\x1b[36m&\x1b[0m/'
300#text/html=pandoc -f html -t plain
301text/html=w3m -dump -I UTF-8 -T text/html
302#image/*=catimg -w $(tput cols) -
303
304[triggers]
305#
306# Triggers specify commands to execute when certain events occur.
307#
308# Example:
309# new-email=exec notify-send "New email from %n" "%s"
310
311#
312# Executed when a new email arrives in the selected folder
313new-email=exec notify-send "New email from %a" "%s"
314
315[templates]
316# Templates are used to populate email bodies automatically.
317#
318
319# The directories where the templates are stored. It takes a colon-separated
320# list of directories. If this is unset or if a template cannot be found, the
321# following paths will be used as a fallback in that order:
322#
323# ${XDG_CONFIG_HOME:-~/.config}/aerc/templates
324# ${XDG_DATA_HOME:-~/.local/share}/aerc/templates
325# /usr/local/share/aerc/templates
326# /usr/share/aerc/templates
327#
328# default: ""
329template-dirs=
330
331# The default template to be used for new messages.
332#
333# default: new_message
334new-message=new_message
335
336# The default template to be used for quoted replies.
337#
338# default: quoted_reply
339quoted-reply=quoted_reply
340
341# The default template to be used for forward as body.
342#
343# default: forward_as_body
344forwards=forward_as_body
diff --git a/dot_config/aerc/binds.conf b/dot_config/aerc/binds.conf
new file mode 100644
index 0000000..cb5ffd3
--- /dev/null
+++ b/dot_config/aerc/binds.conf
@@ -0,0 +1,122 @@
1# Binds are of the form <key sequence> = <command to run>
2# To use '=' in a key sequence, substitute it with "Eq": "<Ctrl+Eq>"
3# If you wish to bind #, you can wrap the key sequence in quotes: "#" = quit
4<C-p> = :prev-tab<Enter>
5<C-n> = :next-tab<Enter>
6<C-t> = :term<Enter>
7? = :help keys<Enter>
8
9[messages]
10q = :quit<Enter>
11
12j = :next<Enter>
13<Down> = :next<Enter>
14<C-d> = :next 50%<Enter>
15<C-f> = :next 100%<Enter>
16<PgDn> = :next 100%<Enter>
17
18k = :prev<Enter>
19<Up> = :prev<Enter>
20<C-u> = :prev 50%<Enter>
21<C-b> = :prev 100%<Enter>
22<PgUp> = :prev 100%<Enter>
23g = :select 0<Enter>
24G = :select -1<Enter>
25
26J = :next-folder<Enter>
27K = :prev-folder<Enter>
28H = :collapse-folder<Enter>
29L = :expand-folder<Enter>
30
31v = :mark -t<Enter>
32V = :mark -v<Enter>
33
34T = :toggle-threads<Enter>
35
36<Enter> = :view<Enter>
37d = :prompt 'Really delete this message?' 'delete-message'<Enter>
38D = :delete<Enter>
39A = :archive flat<Enter>
40
41C = :compose<Enter>
42
43rr = :reply -a<Enter>
44rq = :reply -aq<Enter>
45Rr = :reply<Enter>
46Rq = :reply -q<Enter>
47
48c = :cf<space>
49$ = :term<space>
50! = :term<space>
51| = :pipe<space>
52
53/ = :search<space>
54\ = :filter<space>
55n = :next-result<Enter>
56N = :prev-result<Enter>
57<Esc> = :clear<Enter>
58
59[messages:folder=Drafts]
60<Enter> = :recall<Enter>
61
62[view]
63/ = :toggle-key-passthrough<Enter>/
64q = :close<Enter>
65O = :open<Enter>
66S = :save<space>
67| = :pipe<space>
68D = :delete<Enter>
69A = :archive flat<Enter>
70
71<C-l> = :open-link <space>
72
73f = :forward<Enter>
74rr = :reply -a<Enter>
75rq = :reply -aq<Enter>
76Rr = :reply<Enter>
77Rq = :reply -q<Enter>
78
79H = :toggle-headers<Enter>
80<C-k> = :prev-part<Enter>
81<C-j> = :next-part<Enter>
82J = :next<Enter>
83K = :prev<Enter>
84
85[view::passthrough]
86$noinherit = true
87$ex = <C-x>
88<Esc> = :toggle-key-passthrough<Enter>
89
90[compose]
91# Keybindings used when the embedded terminal is not selected in the compose
92# view
93$ex = <C-x>
94<C-k> = :prev-field<Enter>
95<C-j> = :next-field<Enter>
96<tab> = :next-field<Enter>
97
98[compose::editor]
99# Keybindings used when the embedded terminal is selected in the compose view
100$noinherit = true
101$ex = <C-x>
102<C-k> = :prev-field<Enter>
103<C-j> = :next-field<Enter>
104<C-p> = :prev-tab<Enter>
105<C-n> = :next-tab<Enter>
106
107[compose::review]
108# Keybindings used when reviewing a message to be sent
109y = :send<Enter>
110n = :abort<Enter>
111p = :postpone<Enter>
112q = :choose -o d discard abort -o p postpone postpone<Enter>
113e = :edit<Enter>
114a = :attach<space>
115d = :detach<space>
116
117[terminal]
118$noinherit = true
119$ex = <C-x>
120
121<C-p> = :prev-tab<Enter>
122<C-n> = :next-tab<Enter>
Powered by cgit v1.2.3 (git 2.41.0)