* Applied shellexpand to maildir_dir
* change to account_config: applied shellexpand to maildir_dir
* rustfmt: removing required version, formatted project
* changing type of `maildir_dir` to `String` and adding shellexpand to
`maildir_dir`
* replace bsd3 license by bsd4
* add attachments with save and send commands (#284)
* set up tpl save and send commands
* improve msg save and send handlers
* add vim msg#add_attachment fn
* improve vim logs
* update changelog
* add attachment keybind vim doc
* reverse range order fetch envelopes (#276)
* bump version v0.5.4
* doc: fix blur in list msg screenshots (#181)
* fix a typo in mbox arg (#245)
`targetted` to `targeted` 👌🏻
* make inbox, sent and drafts folder customizable (#246)
* mbox: make inbox, sent and drafts folder customizable
* msg: update send handler parameters order
* vim: fix extracting message ids from list (#247)
The current method doesn't work because the list uses a fancy line
character (`│`) as the separator, not a regular pipe character (`|`).
Matching for the first number in the line instead solves the problem and
will continue to work regardless of what separator is used.
* add new line after printing strings (#251)
* init cargo workspace (#252)
* init cargo workspaces
* nix: fix assets path
* doc: update rtp vim plugin
* vim: add error message if loading vim plugin from vim/
* init sub crates (#253)
* init sub crates
* doc: update readme
* doc: improve main readme
* doc: add links, add missing crate task
* doc: update emojis
* update cargo lock
* implement contact completion with completefunc (#250)
This allows users to define a command for contact completion with
`g:himalaya_complete_contact_cmd` and trigger it with `<C-x><C-u>` when
writing an email.
* fix clippy lints (#255)
* revert cargo workspace feature
* fix nix run (#274)
* replace cargo2nix by naersk
* add rust-analyzer and rustfmt to nix build inputs
* remove wiki from git submodules, update changelog
* fix missing range when fetch fails, add more logs (#276)
* add missing fix in changelog
* remove blank lines and spaces from plain parts (#280)
* fix watch command (#271)
* remove also tabs from text parts (#280)
* pin native-tls minor version (#278)
* improve msg sanitization (#280)
* fix mbox vim plugin telescope preview (#249)
* bump version v0.5.2
* update changelog
Co-authored-by: Austin Traver <austintraver@gmail.com>
Co-authored-by: Jason Cox <dev@jasoncarloscox.com>
Co-authored-by: Gökmen Görgen <gkmngrgn@gmail.com>
Co-authored-by: Ethiraric <ethiraric@gmail.com>
* table: replace custom color by termcolor
* table: deactivate colors if not tty
* table: rename printable to print, add more comments
* table: make use of writters, fix tests
* doc: update changelog
* doc: add page to wiki
0.5.0 came with the amazing option of reading the mail in the same view.
The issue with this is, if you go back to the message list and read some
new mail, it opens a new pane to read the new mail. This change follows
the path of modern mail readers which have one pane to load the email in.
Technically, this change closes any open "Himalaya read message" pane
before creating a new one. This close-open should create the illusion of
having the same pane reload the content.
A possible extension of this would be to clear the contents of the pane,
and re-use the same pane to load the new message. A good time to go this
extension is if Himalaya chooses to use persistent connections to the
mail server.
With the current version of Himalaya, the Vim front breaks because it
can't find headers.subject in the JSON output from Himalaya. The JSON
output today from Himalaya representing a message looks like so
```json
{
"uid": 12345,
"flags": [],
"subject": "Subject",
"subject_len": 7,
"sender": "Sender",
"sender_len": 6,
"date": "2020-12-11 06:38:19"
},
```
This reverts some of the changes in b9a9d0e, but not all of them.