home *** CD-ROM | disk | FTP | other *** search
/ linuxmafia.com 2016 / linuxmafia.com.tar / linuxmafia.com / pub / linux / apps / pine < prev    next >
Text File  |  2013-03-07  |  2KB  |  70 lines

  1. #!/usr/bin/mutt -F
  2.  
  3. # This file contains commands to change the keybindings in Mutt to be
  4. # similar to those of PINE 3.95.
  5.  
  6. source /etc/Muttrc
  7.  
  8. bind index v display-message
  9. bind index p previous-undeleted
  10. bind index n next-undeleted
  11. bind index ' ' next-page
  12. bind index c mail
  13. bind index g change-folder
  14. bind index w search
  15. bind index y print-message
  16. bind index x sync-mailbox
  17. bind index $ sort-mailbox
  18. bind index a tag-prefix
  19. bind index \; tag-entry
  20. bind index t create-alias
  21. bind index '-' previous-page
  22.  
  23. # Not possible to simulate zoom-out...
  24. macro index z ltagged\r
  25.  
  26. bind pager p previous-undeleted
  27. bind pager n next-undeleted
  28. bind pager ' ' next-page
  29. bind pager g change-folder
  30. bind pager c mail
  31. bind pager w search
  32. bind pager y print-message
  33. bind pager \n noop    # PINE prints "No default action for this menu."
  34. bind pager <up> previous-line
  35. bind pager <down> next-line
  36. bind pager t create-alias
  37. bind pager \cv next-page
  38. bind pager \cy previous-page
  39. bind pager \cp previous-line
  40. bind pager \cn next-line
  41.  
  42.  
  43. bind compose \cx send-message
  44.  
  45. # PINE has different defaults for these variables
  46. set folder=~/mail
  47. set record=+sent-mail
  48. set nosave_name
  49. set postponed=~/postponed-msgs
  50. set hdr_format="%Z %3C %{%b %d} %-19.19L (%5c) %s"
  51. set editor="nano -r72 -Y mutt -t"
  52. set visual="nano -r72 -Y mutt -t"
  53. unset edit_hdrs           # too confusing for pine users
  54.  
  55.  
  56. bind  pager   <up>     previous-line
  57. bind  pager   <down>   next-line
  58. bind  pager   <left>   exit
  59. bind  pager   <right>  view-attachments
  60. bind  attach  <left>   exit
  61. bind  attach  <right>  view-attach
  62. bind  index   <right>  display-message
  63. macro index   <left>   "c?"
  64. bind  browser <right>  select-entry
  65. bind  browser <left>   exit
  66.  
  67. source ~/.muttrc
  68. #source ~/.addressbook
  69. set alias_file=~/.muttrc
  70.