my eye

Bind d and r to window close and reload

Committed b20d2c

--- a/canopy/static/enliven.js
+++ b/canopy/static/enliven.js

         case '?': goHelp(); break                    // ?   show help
         case 'f': showKeyboardFollowLinks(); break   // f   show "follow links"
         case 'm': goHome(); break                    // m   go home
+        case 'd': close(); break                     // d   close page
+        case 'r': reload(); break                    // r   reload page
         case 'h': goBack(); break                    // h   go back
         case 'j': scrollDown(); break                // j   scroll down 3 EMs
         case 'k': scrollUp(); break                  // k   scroll up 3 EMs
 
 const goHelp = () => { go('/help') }
 const goHome = () => { go(document.querySelector("a[rel=home]").href) }
+const close = () => { window.close() }
+const reload = () => { window.location.reload() }
 const goUp = () => { go(document.querySelector("a[rel=up]").href) }
 const goPrevious = () => { go(document.querySelector("a[rel=prev]").href) }
 const goNext = () => { go(document.querySelector("a[rel=next]").href) }