Commit graph

73 commits

Author SHA1 Message Date
Clayton Craft
e56ceb099e Support directories in path to :save
This adds new functionality to :save in the message view for specifying
directories in the path. A new flag, -p, is also added to :save for
automatically creating any directories in the path that do not exist.

If the path ends in a / (e.g. "Downloads/mail/") or if the path is an
existing directory, the part's file name is the filename from the mail
header for the part. Otherwise, it uses the last element in the path as
the filename (e.g. 'blah.jpg' is the filename if the path is
'Downloads/mail/blah.jpg')
2019-06-14 09:48:20 -04:00
Drew DeVault
d22a9140cd Implement :mkdir command 2019-06-09 19:21:26 -04:00
Drew DeVault
50f25e7c4d aerc(1): add :read and :unread command to docs 2019-06-09 14:59:13 -04:00
Robert Günzler
acfe7d7625 Add archive command
Adds an archive command that moves the current message into the folder
specified in the account config entry.

Supports three layouts at this point:

- flat: puts all messages next to each other
- year: creates a folder per year
- month: same as above, plus folders per month

This also adds a "-p" argument to "cp" and "mv" that works like
"--parents" on mkdir(1). We use this to auto-create the directories
for the archive layout.
2019-06-09 11:33:50 -04:00
Yash Srivastav
fca7321639 Message list: implement index-format option 2019-06-07 16:22:01 -04:00
Drew DeVault
df1209b60e Update docs per filters rewrite 2019-06-07 11:56:48 -04:00
ngenisis
7446a17830 Mention aerc-tutorial(7) in aerc(1) 2019-06-05 09:32:26 -04:00
Stephen Gregoratto
4df8e7f04d add missing column in table 2019-06-03 23:08:31 -04:00
Francis Dinh
58a0f438df Update aerc-tutorial(7) to reflect changes to reply bindings
As of commit 11a569f6, the functions of rr/Rr and rq/Rq are switched,
but this wasn't reflected in the manpage until now.
2019-06-03 20:55:51 -04:00
Galen Abell
28fc9fa53d Add :save and :pipe commands to viewer
* :save takes a path and saves the current message part to that location
* :pipe is the same as pipe on the account page, but uses the current
  message part rather than the whole email (ie :pipe gzip -d)
* Refactored account:pipe and extracted common pipe code to
  commands.util.QuickTerm
* Added helper command aerc.PushError
2019-05-27 09:37:07 -04:00
Drew DeVault
8be4c5715d Document :forward in aerc(1) 2019-05-25 20:33:36 -04:00
Drew DeVault
c4c8648cc7 Change ex command to C-x when using terminal 2019-05-24 12:45:48 -04:00
Roshless
ae9d60e887 Fix key value typo in documentation 2019-05-23 10:22:37 -04:00
Drew DeVault
c295508352 Mention custom headers in aerc-tutorial(7) 2019-05-22 16:50:00 -04:00
Francis Dinh
1ec72f879f Minor fixes to list of filter dependencies
- "sockify" -> "socksify"
- Added colorama dependency
2019-05-22 16:35:35 -04:00
Drew DeVault
062f00ebe9 Minor improvements to aerc-tutorial 2019-05-22 12:36:09 -04:00
Drew DeVault
58bc15b472 Implement opening tutorial after account wizard 2019-05-22 11:13:55 -04:00
Drew DeVault
6811143925 New account wizard, part one 2019-05-21 16:53:50 -04:00
Drew DeVault
176245208d Use kebab-case for cred-cmds 2019-05-21 14:31:14 -04:00
Amin Bandali
588a6c785b Implement :pwd command 2019-05-19 14:36:11 -04:00
Drew DeVault
ca2cd00fe7 Fix scdoc & gofmt issues 2019-05-18 15:34:16 -04:00
Galen Abell
b8208509f4 Implement loading passwords from external commands
* Resolves #80
2019-05-18 15:31:38 -04:00
Drew DeVault
fc719e47c4 Add man pages 2019-05-17 13:46:26 -04:00