astroid
astroid copied to clipboard
Edit mode: replace 'Enter' with 'e' for editing a (draft) email
There are two ways to edit an draft email in Astroid:
- In the thread view, when there is a draft in a thread (with a draft tag), you can edit with 'E'
- in the edit view, when you just started a draft email, you can edit with 'Enter'.
This is not consistent. Moreover, 'Enter' is already used in many other contexts (e.g. opening a selected attachment, displaying an HTML part, etc.). This may result in confusing situations (e.g. trying to preview an attachment in the Edit view is counterintuitive because the user has to remember to do it in a different way even though it is visually very similar from the thread view).
I propose to make a consistent approach by using 'e' in any contest to edit an email (whether a mail tagged as draft, or wether a mail in edit mode).
For those who prefer the old baheviour, they can just add the following to their keybindings
file:
thread_view.edit_draft=E
edit_message.edit=GDK_KEY_Return
thread_view.expand=e
I like that suggestion! I have actually now manually changed it for myself, but think that if it would be the default it would help new users a lot.
I got very confused about being unable to use the "enter" key properly because of this, and it took me a while to discover this solution and implement it. I agree that this should be default.