newsblur-mode: keymap updates
authorBenjamin Slade <slade@jnanam.net>
Mon, 29 Oct 2012 16:54:49 +0000 (29 12:54 -0400)
committerJohn Foerch <jjfoerch@earthlink.net>
Mon, 29 Oct 2012 16:54:49 +0000 (29 12:54 -0400)
modules/page-modes/newsblur.js

index 66bbfd3..9fee761 100644 (file)
@@ -1,4 +1,5 @@
 /**
+ * NewBlur mode (for https://www.newsblur.com RSS news reader)
  * (C) Copyright 2012 Benjamin Slade
  *
  * Use, modification, and distribution are subject to the terms specified in the
@@ -16,15 +17,20 @@ define_key(newsblur_keymap, "?", null, $fallthrough); // open help
 
 // Navigation
 define_key(newsblur_keymap, "d", null, $fallthrough); // dashboard
+define_key(newsblur_keymap, "g", null, $fallthrough); // find feed by name
 define_key(newsblur_keymap, "j", null, $fallthrough); // next story
 define_key(newsblur_keymap, "k", null, $fallthrough); // previous story
 define_key(newsblur_keymap, "J", null, $fallthrough); // next site
+define_key(newsblur_keymap, "S-up", null, $fallthrough); // next site
 define_key(newsblur_keymap, "K", null, $fallthrough); // previous site
+define_key(newsblur_keymap, "S-down", null, $fallthrough); // previous site
 define_key(newsblur_keymap, "E", null, $fallthrough); // fetch everything (fetch all unread stories)
 define_key(newsblur_keymap, "space", null, $fallthrough); // scroll down
 define_key(newsblur_keymap, "S-space", null, $fallthrough); // scroll up
 define_key(newsblur_keymap, "n", null, $fallthrough); // next unread story
 define_key(newsblur_keymap, "m", null, $fallthrough); // find oldest unread story
+define_key(newsblur_keymap, "left", null, $fallthrough); // switch views (original|feed|story)
+define_key(newsblur_keymap, "right", null, $fallthrough); // switch views (original|feed|story)
 
 
 // Acting
@@ -34,15 +40,18 @@ define_key(newsblur_keymap, "o", null, $fallthrough); // open story in new windo
 define_key(newsblur_keymap, "A", null, $fallthrough); // mark all stories as read
 define_key(newsblur_keymap, "S", null, $fallthrough); // share story
 define_key(newsblur_keymap, "C-return", null, $fallthrough); // save comments
+define_key(newsblur_keymap, "e", null, $fallthrough); // email story
 
 // Application
-define_key(newsblur_keymap, "U", null, $fallthrough); // hide sidebar
+define_key(newsblur_keymap, "U", null, $fallthrough); // hide sites
+define_key(newsblur_keymap, "T", null, $fallthrough); // hide story titles
 define_key(newsblur_keymap, "a", null, $fallthrough); // add new rss feed
 define_key(newsblur_keymap, "t", null, $fallthrough); // open story trainer
 define_key(newsblur_keymap, "f", null, $fallthrough); // open site/feed trainer
 define_key(newsblur_keymap, "+", null, $fallthrough); // change intelligence
 define_key(newsblur_keymap, "-", null, $fallthrough); // change intelligence
 
+
 define_keymaps_page_mode("newsblur-mode",
     build_url_regexp($domain = /(?:[a-z]+\.)?newsblur/),
     { normal: newsblur_keymap },