Browse Source

Use mutt-patched

Bob Mottram 11 years ago
parent
commit
3bde605fe4
1 changed files with 50 additions and 12 deletions
  1. 50
    12
      beaglebone.txt

+ 50
- 12
beaglebone.txt View File

@@ -1401,7 +1401,7 @@ If all has gone well then there should be no warnings or errors after you run th
1401 1401
 #+END_VERSE
1402 1402
 
1403 1403
 #+BEGIN_SRC: bash
1404
-apt-get install mutt lynx abook
1404
+apt-get install mutt-patched lynx abook
1405 1405
 exit
1406 1406
 mkdir ~/.mutt
1407 1407
 echo "text/html; lynx -dump -width=78 -nolist %s | sed ‘s/^ //’; copiousoutput; needsterminal; nametemplate=%s.html" > ~/.mutt/mailcap
@@ -1432,6 +1432,40 @@ macro index S "<tag-prefix><save-message>=.learn-spam<enter>" "move to learn-spa
1432 1432
 macro pager S "<save-message>=.learn-spam<enter>" "move to learn-spam"
1433 1433
 macro index H "<tag-prefix><copy-message>=.learn-ham<enter>" "copy to learn-ham"
1434 1434
 macro pager H "<copy-message>=.learn-ham<enter>" "copy to learn-ham"
1435
+
1436
+# set up the sidebar
1437
+set sidebar_width=12
1438
+set sidebar_visible=yes
1439
+set sidebar_delim='|'
1440
+set sidebar_sort=yes
1441
+
1442
+set rfc2047_parameters
1443
+
1444
+# Show inbox and sent items
1445
+mailboxes = =sent
1446
+
1447
+# Alter these colours as needed for maximum bling
1448
+color sidebar_new yellow default
1449
+color normal white default
1450
+color hdrdefault brightcyan default
1451
+color signature green default
1452
+color attachment brightyellow default
1453
+color quoted green default
1454
+color quoted1 white default
1455
+color tilde blue default
1456
+
1457
+# ctrl-n, ctrl-p to select next, prev folder
1458
+# ctrl-o to open selected folder
1459
+bind index \Cp sidebar-prev
1460
+bind index \Cn sidebar-next
1461
+bind index \Co sidebar-open
1462
+bind pager \Cp sidebar-prev
1463
+bind pager \Cn sidebar-next
1464
+bind pager \Co sidebar-open
1465
+
1466
+# ctrl-b toggles sidebar visibility
1467
+macro index \Cb '<enter-command>toggle sidebar_visible<enter><refresh>'
1468
+macro pager \Cb '<enter-command>toggle sidebar_visible<enter><redraw-screen>'
1435 1469
 #+END_SRC
1436 1470
 
1437 1471
 Save and exit.
@@ -1475,17 +1509,21 @@ To use the address book system open an email and then to add the sender to the a
1475 1509
 
1476 1510
 Some useful keys to know are:
1477 1511
 
1478
-| ESC / | Search for text within message contents                 |
1479
-| "/"   | Search for text within headers                          |
1480
-| *     | Move to the last message                                |
1481
-| TAB   | Move to the next unread message                         |
1482
-| d     | Delete a message                                        |
1483
-| u     | Undelete a mail which is pending deletion               |
1484
-| $     | Delete all messages selected and check for new messages |
1485
-| a     | Add to the address book                                 |
1486
-| m     | Send a new mail                                         |
1487
-| S     | Mark a message as spam                                  |
1488
-| H     | Mark a message as ham                                   |
1512
+| ESC /  | Search for text within message contents                 |
1513
+| "/"    | Search for text within headers                          |
1514
+| *      | Move to the last message                                |
1515
+| TAB    | Move to the next unread message                         |
1516
+| d      | Delete a message                                        |
1517
+| u      | Undelete a mail which is pending deletion               |
1518
+| $      | Delete all messages selected and check for new messages |
1519
+| a      | Add to the address book                                 |
1520
+| m      | Send a new mail                                         |
1521
+| S      | Mark a message as spam                                  |
1522
+| H      | Mark a message as ham                                   |
1523
+| CTRL-b | Toggle side bar on/off                                  |
1524
+| CTRL-n | Next mailbox (on side bar)                              |
1525
+| CTRL-p | Previous mailbox (on side bar)                          |
1526
+| CTRL-o | Open mailbox (on side bar)                              |
1489 1527
 
1490 1528
 *** K9 Android client
1491 1529