Advertisement
msjche

~/.mutt/keybindings

Aug 14th, 2013
325
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.66 KB | None | 0 0
  1. # ~/.mutt/keybindings
  2. # $Id$
  3. # Mutt 1.5.13 (2006-08-11)
  4.  
  5. #macro compose Q ':toggle sidebar_newmail_only^M'
  6. #macro compose S ':toggle sidebar_visible^M'
  7.  
  8. # Macro Generic {{{1
  9. macro generic <f2> '<pipe-message>spamassassin -r<enter><save-message>=spam<enter>'
  10. macro generic <f3> '<pipe-message>bogofilter -s<enter><save-message>=spam<enter>'
  11. macro generic <f5> ':push <copy-message>=Todo<enter><enter><enter><toggle-new>'
  12.  
  13. # Macro Index {{{1
  14. macro index .n '<tag-pattern>~N<enter><tag-prefix><clear-flag>N<clear-flag>*' 'Catchup all new messages
  15.  
  16. # Macro Index/Pager {{{1
  17. #macro index,pager A '!fetchmail -v -a -F -K<enter>'
  18. #macro index,pager Q ':toggle sidebar_newmail_only^M'
  19. #macro index,pager S ':toggle sidebar_visible^M'
  20. #macro index,pager \cn ':push <sidebar-next-new><enter>'
  21. #macro index,pager \co ':push <sidebar-open><enter>'
  22. #macro index,pager \cp ':push <sidebar-prev-new><enter>'
  23. #macro index,pager \cr ':push <sidebar-prev><enter>'
  24. #macro index,pager \cw ':push <sidebar-next><enter>'
  25. #macro index,pager \es '|festival --tts<enter>'
  26. #macro index,pager <f1> '!less /usr/share/doc/mutt-*/manual.txt<enter>' 'Show Mutt documentation'
  27. #macro index,pager <f1> '!zless -R /usr/share/doc/mutt/manual.txt.gz<enter>' 'Show Mutt documentation'
  28. macro index,pager <f2> '<pipe-message>spamassassin -r<enter><save-message>=spam<enter>'
  29. macro index,pager <f3> '<pipe-message>bogofilter -s<enter><save-message>=spam<enter>'
  30. macro index,pager A '!fetchmail<enter>'
  31. macro index,pager \cb '<pipe-message>urlview<enter>'
  32. macro index,pager \ef '<pipe-message>view-x-face<enter>'
  33. macro index,pager \es '<pipe-message>festival --tts<enter>'
  34. macro index,pager \et ':unset weed<enter>|~/.mutt/bin/mailhops|less -c<enter>' 'Show trace of mail routing'
  35.  
  36. # Bind * {{{1
  37. bind attach,compose,index,pager,browser Q exit
  38.  
  39. # Bind Browser {{{1
  40. bind browser g top-page
  41. bind browser G bottom-page
  42. bind browser \cb previous-page
  43. bind browser \cf next-page
  44. bind browser <Enter> view-file
  45. bind browser A check-new
  46.  
  47. # Bind Index {{{1
  48. bind index ~ set-flag
  49. bind index \cv what-key
  50. bind index i mail
  51. bind index g first-entry
  52. bind index G last-entry
  53. # vim uses (norm): 'z<CR>' top, 'z.' mid, 'z-' bot
  54. bind index H current-top
  55. bind index M current-middle
  56. bind index L current-bottom
  57. bind index pagedown next-page
  58. bind index pageup previous-page
  59. #bind index \cn sidebar-next
  60. #bind index \cO sidebar-open
  61. #bind index \cp sidebar-prev
  62. #bind index \ef forget-passphrase
  63. #bind index \ep purge-message
  64.  
  65. # Bind Pager {{{1
  66. bind pager g top
  67. bind pager G bottom
  68. bind pager j next-line
  69. bind pager k previous-line
  70. bind pager i edit
  71. bind pager ' ' next-page
  72. bind pager + next-line
  73. bind pager - previous-line
  74. bind pager - previous-page
  75. bind pager / search
  76. bind pager : enter-command
  77. bind pager <down> next-line
  78. bind pager <up> previous-line
  79. bind pager G bottom
  80. bind pager L list-reply
  81. bind pager P print-message
  82. bind pager R list-reply
  83. bind pager \cd half-down
  84. bind pager \ce next-line
  85. bind pager \cf next-page
  86. bind pager \cm next-line
  87. bind pager \cn half-down
  88. bind pager \cn next-page
  89. bind pager \cp half-up
  90. bind pager \cu half-up
  91. bind pager \cy previous-line
  92. #bind pager \cN sidebar-next
  93. #bind pager \cO sidebar-open
  94. #bind pager \cP sidebar-prev
  95. #bind pager \ep purge-message
  96. #bind pager N
  97. #bind pager \cb previous-page
  98. # Bind Index/Pager {{{1
  99. bind index,pager \cn next-thread
  100. bind index,pager \cn read-thread
  101. bind index,pager \cd delete-thread
  102. bind index,pager f forward-message
  103. bind index,pager n next-undeleted
  104. bind index,pager p previous-undeleted
  105. bind index,pager N next-unread
  106. bind index,pager P previous-unread
  107. # }}}
  108.  
  109. # vim: ft=muttrc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement