# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Affectation des touches : Key bindings
bind generic "\e<" first-entry # emacs-like bindings for moving to top/bottom
bind generic \e> last-entry
bind generic { top-page
bind generic } bottom-page
bind generic \177 last-entry
bind editor \cy eol # make ^Y jump to the end of the line
bind pager G bottom # just like vi and less
bind index \y next-unread
bind pager \y next-unread
bind index ,\y previous-unread
bind pager ,\y previous-unread
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Affectation de commandes : Macros
# Macros Index
macro index G "!fetchmail\n"
macro index S s+spam\n
macro index \cb |urlview\n # simulate the old browse-url function
macro index "\eb" "<pipe-message>lbdb-fetchaddr\n" # Store address details in lbdb.
macro index "\ea" "<change-folder>=Archives/\t\t" # List archives
macro index "\ef" "<change-folder>=Flood/\t\t" # List Flood
macro index "\em" "<change-folder>=ML/\t\t" # List ML
macro index "\ep" "<change-folder>=Parinux/\t\t" # List Parinux
macro index "\et" "<change-folder>=Arbeit/\t\t" # List Arbeit
macro index H "!findmel\n"
# Marquer en lus :
macro index z T"~U ~d >1d"<enter>\;N^T*<enter> # msgs > 1 jour
macro index Z T~U<enter>\;N^T*<enter> # tous les msgs
# Macros compose (avant envoi)
# Inclut signature PGP dans le corps du message:
macro compose \Cp "F/usr/bin/pgps\ny"
macro compose S "F/usr/bin/pgps\ny^T^Uapplication/pgp; format=text; x-action=sign\n"
# Mode Pager :
macro pager S s+spam\n
macro pager X "|morepgp^M" # pipe PGP message to a script
macro pager G "!fetchmail\n" # lance fetchmail
macro pager "\cb" |urlview\n # pour matter les URLs
#macro pager "\Ck" "|pgp -kaf^M" # a comment is valid here
macro pager "\Cx\Cc" "<change-folder>?" # Folder list.
#macro pager "\Ck" "|pgp -kaf^M" # a comment is valid here
macro pager "\Cx\Ca" "<pipe-message>cat > ~/" # Save message
macro pager "\eb" "<pipe-message>lbdb-fetchaddr\n" # Store address details in lbdb.