Bind h/left l/right to setting item read / unread
authorJack Miller <jack@codezen.org>
Wed, 22 Jul 2015 17:05:17 +0000 (12:05 -0500)
committerJack Miller <jack@codezen.org>
Wed, 22 Jul 2015 17:05:17 +0000 (12:05 -0500)
Defaults only, use

:bind h item-state read
:bind l item-state -read

(or left / right if that suits you) to get the binds.

Alternatively, you could ":reset-config taglist" to get all of the
default binds, but obviously that would destroy any non-default binds
too.

canto_curses/config.py

index 324ecc7..188e52f 100644 (file)
@@ -272,6 +272,10 @@ class CantoCursesConfig(SubThread):
                     "j" : "next-item",
                     "up" : "prev-item",
                     "k" : "prev-item",
+                    "h" : "item-state read",
+                    "left" : "item-state read",
+                    "l" : "item-state -read",
+                    "right" : "item-state -read",
                     "+" : "promote",
                     "-" : "demote",
                     "J" : "next-tag",