diff --git a/mail.org b/mail.org index e4129fe..a7dfcaf 100644 --- a/mail.org +++ b/mail.org @@ -522,14 +522,8 @@ bind generic,index,pager \Ce next-line bind generic,index,pager \Cy previous-line #+end_src -*** Index and Pager -#+BEGIN_SRC conf -bind pager k previous-line -bind pager j next-line - -# Display mode information -bind pager i display-toggle-weed - +*** Index (list of mails) +#+begin_src conf bind index collapse-thread bind index,pager K previous-entry @@ -537,17 +531,9 @@ bind index,pager J next-entry bind index l display-message bind index display-message -bind pager l view-attachments - -bind pager gg top -bind pager 0 top - -bind pager G bottom -bind pager $ bottom macro index h "?" "Go back to the list of mailboxes" bind pager h exit -bind pager q exit macro index c "?" "change folder" @@ -562,6 +548,36 @@ bind index,pager @ compose-to-sender macro index \Cr \ "~NN." \ "mark all new as read" +#+end_src + +#+begin_src conf +bind index U toggle-new +#+end_src + +Copy and move mails +#+BEGIN_SRC conf +macro index C "?" "copy a message to a mailbox" +macro index M "?" "move a message to a mailbox" +#+END_SRC + +*** Pager (One mail opened) +#+BEGIN_SRC conf +bind pager k previous-line +bind pager j next-line +bind pager l view-attachments + +# Display mode information +bind pager i display-toggle-weed + +bind pager gg top +bind pager 0 top + +bind pager G bottom +bind pager $ bottom + +bind pager q exit + +macro pager L " urlscan" "call urls #+END_SRC #+begin_src conf @@ -601,22 +617,12 @@ Open mail with Vim macro index,pager V "plain" #+end_src -#+begin_src conf -bind index U toggle-new -#+end_src - Labels #+BEGIN_SRC conf bind index,pager y edit-label bind index,pager Y modify-labels #+END_SRC -Copy and move mails -#+BEGIN_SRC conf -macro index C "?" "copy a message to a mailbox" -macro index M "?" "move a message to a mailbox" -#+END_SRC - *** Limit #+begin_src conf bind index L limit @@ -695,8 +701,6 @@ Write html emails using markdown bind browser l select-entry macro browser h "" -bind browser t tag-entry - bind browser q exit #+end_src