# Command bind : # Syntax: bind # Values for : # generic, alias, attach, browser, editor, index, compose, pager, pgp, postpone # Special values for : \t, , \r, \n, \e, , , , # , , , , , , # , , , , , ,..., # # Take care, there are some defaults hardcoded in keymap.c:km_init() # Most defaults (Op*) are defined in functions.h. # # Generic keybindings (for all menus except pager!): # #bind generic \Ca first-entry #bind generic \Ce last-entry macro generic I ":exec change-folder\n!\n" \ "Change to index" macro pager I ":exec change-folder\n!\n" \ "Change to index" macro generic \e1 ":set pgp_default_version=gpg ?pgp_default_version\n" \ "switch to GNU-PG" macro generic \e2 ":set pgp_default_version=pgp2 ?pgp_default_version\n"\ "switch to PGP 2.*" macro generic \e5 ":set pgp_default_version=pgp5 ?pgp_default_version\n"\ "switch to PGP 5.*" macro generic \e6 ":set pgp_default_version=pgp6 ?pgp_default_version\n"\ "switch to PGP 6.*" # # index, OpMain, MENU_MAIN # (Main Index) # bind index previous-entry bind index next-entry bind index delete-message bind index * flag-message bind index = noop macro index A |'abook --add-email'\n macro index \ea "!$EDITOR ~/.mutt/aliases\n:source ~/.mutt/aliases\n" \ "Edit aliases file and reload it" macro index \Cb ":set pipe_decode\n|urlview\n:unset pipe_decode\n" \ "call urlview to extract URLs out of a message" macro index \eb "/~B " "Search in message headers and boddies" bind index C noop bind index \Ce last-entry bind index \Ca first-entry bind index g change-folder bind index G group-reply bind index \eg change-folder-readonly bind index i sync-mailbox bind index J noop bind index K noop bind index n next-entry bind index \Cn search-next #bind index P recall-message bind index p previous-entry #bind index \ep post-message # only with NNTP patch bind index \eq query macro index Q ":set quit=yes\nq" "Quit mutt without asking" macro index \er ":source ~/.muttrc\n" "Reload muttrc" #bind index S copy-message macro index \eu "|uudeview -\n" "UUdecode Mail(s)" bind index x sync-mailbox bind index y print-message #bind index ??? next-thread #bind index ??? read-subthread #bind index ??? tag-subthread #bind index ??? undelete-subthread #bind index ??? next-unread #bind index ??? previous-unread #bind index ??? search-opposite #bind index ??? current-top #bind index ??? current-middle #bind index ??? current-bottom #bind index ??? exit # # pager, OpPager, MENU_PAGER # (Message Pager) # bind pager previous-line bind pager next-line bind pager previous-entry bind pager next-entry bind pager delete-message bind pager ^ noop bind pager * flag-message macro pager A |'abook --add-email'\n macro pager \; "" "Goto index and enter tag-prefix" macro pager \e1 ":set pgp_default_version=gpg ?pgp_default_version\n" \ "switch to GNU-PG" macro pager \e2 ":set pgp_default_version=pgp2 ?pgp_default_version\n"\ "switch to PGP 2.*" macro pager \e5 ":set pgp_default_version=pgp5 ?pgp_default_version\n"\ "switch to PGP 5.*" macro pager \e6 ":set pgp_default_version=pgp6 ?pgp_default_version\n"\ "switch to PGP 6.*" bind pager \Ca top #macro pager \ea "!~/.mutt/mutt-alias.pl\n:source ~/.mutt/source_me\n" macro pager \ea "!$EDITOR ~/.mutt/aliases\n:source ~/.mutt/aliases\n" \ "edit aliases file and reload it" macro pager \Cb ":set pipe_decode\n|urlview\n:unset pipe_decode\n" \ "call urlview to extract URLs out of a message" #bind pager C copy-message bind pager \ec noop bind pager \Ce bottom macro pager \Cf "" \ "Forget passphrase and redisplay message" macro pager \ef "|view-x-face\n" "Show X-Face" bind pager g change-folder bind pager G group-reply bind pager \eg change-folder-readonly macro pager \e\e0 ":set pager_index_lines=4\n:macro pager I \\e\\e1 toggle\\ pager_index_lines\n" "internal function" macro pager \e\e1 ":set pager_index_lines=0\n:macro pager I \\e\\e0 toggle\\ pager_index_lines\n" "internal function" #macro pager I "\e\e1" "toggle pager_index_lines" #macro pager l "" "Goto index and limit" macro pager \el "|less\n" "View plain message using less" bind pager n next-entry bind pager \Cn search-next bind pager p previous-entry #bind pager P recall-message bind pager \Cp noop macro pager \eq "" "Go to index and start a query." macro pager \er ":source ~/.muttrc\n" "Reload muttrc" #bind pager S copy-message macro pager \eu "|uudeview -\n" "uudecode mail" bind pager w previous-page # page up like in less macro pager x "" "Goto index and sync mailbox" bind pager y print-message #bind pager ??? next-thread #bind pager ??? previous-thread #bind pager ??? read-subthread #bind pager ??? undelete-subthread #bind pager ??? search-opposite #bind pager ??? next-unread #bind pager ??? previous-new #bind pager ??? previous-unread #bind pager ??? half-up #bind pager ??? half-down # # attach, OpAttach+OpGeneric, MENU_ATTACH # (View Attachments Menu) # macro attach \Cb ":set pipe_decode\n|urlview\n:unset pipe_decode\n" \ "Call urlview to extract URLs out of a message" bind attach G group-reply bind attach i exit macro attach \el "|less\n" "View plain message using less" # view plain message bind attach Q exit macro attach \eu "|uudeview -\n" "uudecode attachment" # uudecode attachment bind attach v view-attach #bind attach ??? current-top #bind attach ??? current-middle #bind attach ??? current-bottom # # compose, OpCompose+OpGerneric, MENU_COMPOSE # (Composing Menu, shows Attachments beforesending) # bind compose attach-file bind compose detach-file macro compose \el "|less\n" "View plain message using less" macro compose \Cp "Fpgp +clearsig=on -fast\ny" \ "PGP sign mail without MIME" # pgp sign mail without MIME bind compose Q exit macro compose S "Fpgp +clearsig=on -fast\ny^T^Uapplication/pgp; format=text; x-action=sign\n" \ "PGP sign mail with oldstyle MIME" bind compose v view-attach #bind compose ??? search-opposite #bind compose ??? current-top #bind compose ??? current-middle #bind compose ??? current-bottom # # browser, OpBrowser+OpGeneric, MENU_FOLDER # (File-Browser. Shows files in a directory) # #bind browser ??? search-opposite #bind browser ??? current-top #bind browser ??? current-middle #bind browser ??? current-bottom # # alias, OpGeneric, MENU_ALIAS # (Lists all aliases) # #bind alias ??? search-opposite #bind alias ??? current-top #bind alias ??? current-middle #bind alias ??? current-bottom # # pgp, OpPgp+OpGeneric, MENU_PGP # (Lists all matching PGP Keys from Keyring) # bind pgp \Cn search-next bind pgp v view-name #bind pgp ??? search-opposite #bind pgp ??? current-top #bind pgp ??? current-middle #bind pgp ??? current-bottom # # query, OpQuery, MENU_QUERY # (Lists all matching Query results) # bind query \eq query #bind query ??? search-opposite #bind query ??? current-top #bind query ??? current-middle #bind query ??? current-bottom # # , OpPost, MENU_POST # (Postpone-Menu, lists all postponed messages) # *not* yet configurable!!! # #bind postpone ??? search-opposite #bind postpone ??? current-top #bind postpone ??? current-middle #bind postpone ??? current-bottom # # editor, OpEditor, MENU_EDITOR # (Command line editor) # bind editor delete-char ######################## end of file ######################################