[GH-ISSUE #103] [Enhancement] Toggle expand/collapse To:, Cc:, Bcc: and Attchmnt: fields to show multiple lines and ease edition #90

Closed
opened 2026-03-03 01:19:43 +03:00 by kerem · 3 comments
Owner

Originally created by @Kabouik on GitHub (May 8, 2022).
Original GitHub issue: https://github.com/d99kris/nmail/issues/103

Originally assigned to: @d99kris on GitHub.

It would be nice if those fields could be toggled between single line (default) and multi-line, so that long lists can be easily edited. First, long lists would be more legible when expanded. Second, shell keybindings like Ctrl+a (beginning of line), Ctrl+e (end of line), Ctrl+k (delete all to the right of the cursor) and Ctrl+u (delete all to the left of the cursor) could be used to cherry pick which recipients or attachments to remove and more efficiently edit lists.

Likewise, it may make sense to enable editing with an external editor (currently Ctrl+e, but this conflicts with the above standard shell keybindings), just like currently possible for the main body of the message.

I sometimes have to send emails to >100 people and having to move left or right character by character to review my list of recipients made me think of this potential improvement. The list of attachments can also be quite long even with few attachments if their path itself contains a lot of characters.

Originally created by @Kabouik on GitHub (May 8, 2022). Original GitHub issue: https://github.com/d99kris/nmail/issues/103 Originally assigned to: @d99kris on GitHub. It would be nice if those fields could be toggled between single line (default) and multi-line, so that long lists can be easily edited. First, long lists would be more legible when expanded. Second, shell keybindings like `Ctrl+a` (beginning of line), `Ctrl+e` (end of line), `Ctrl+k` (delete all to the right of the cursor) and `Ctrl+u` (delete all to the left of the cursor) could be used to cherry pick which recipients or attachments to remove and more efficiently edit lists. Likewise, it may make sense to enable editing with an external editor (currently `Ctrl+e`, but this conflicts with the above standard shell keybindings), just like currently possible for the main body of the message. I sometimes have to send emails to >100 people and having to move left or right character by character to review my list of recipients made me think of this potential improvement. The list of attachments can also be quite long even with few attachments if their path itself contains a lot of characters.
kerem closed this issue 2026-03-03 01:19:43 +03:00
Author
Owner

@d99kris commented on GitHub (May 10, 2022):

Hi @Kabouik - yes I think these are some good ideas! Will try to look into this.

<!-- gh-comment-id:1122573447 --> @d99kris commented on GitHub (May 10, 2022): Hi @Kabouik - yes I think these are some good ideas! Will try to look into this.
Author
Owner

@d99kris commented on GitHub (Oct 8, 2022):

Improved key bindings support for email header fields has been added now, allowing use of alt-left, alt-right, alt-backspace, alt-delete (and also ctrl-a/e/u/k). This hopefully helps a little bit.

Will leave this issue open until I've checked the feasibility on expanding/collapsing the email header fields to multiple lines.

<!-- gh-comment-id:1272286667 --> @d99kris commented on GitHub (Oct 8, 2022): Improved key bindings support for email header fields has been added now, allowing use of alt-left, alt-right, alt-backspace, alt-delete (and also ctrl-a/e/u/k). This hopefully helps a little bit. Will leave this issue open until I've checked the feasibility on expanding/collapsing the email header fields to multiple lines.
Author
Owner

@d99kris commented on GitHub (Nov 29, 2022):

Will proceed to move all feature requests into Discussions section, for a clearer separation of bugs and feature requests.

<!-- gh-comment-id:1330600894 --> @d99kris commented on GitHub (Nov 29, 2022): Will proceed to move all feature requests into Discussions section, for a clearer separation of bugs and feature requests.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nmail#90
No description provided.