-
Notifications
You must be signed in to change notification settings - Fork 0
/
eaf-rss-reader.el
48 lines (42 loc) · 1.43 KB
/
eaf-rss-reader.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
(defcustom eaf-rss-reader-keybinding
'(("A" . "add_feed")
("*" . "add_feed")
("R" . "remove_feed")
("x" . "remove_feed")
("r" . "alter_read_status")
("u" . "alter_read_status")
("g" . "handle_refresh_rsshub_list")
("b" . "js_goback")
("v" . "js_view_original_page")
("o" . "js_view_original_page")
("k" . "js_select_prev_item")
("j" . "js_select_next_item")
("C-k" . "js_open_current_item")
("C-j" . "js_up_item")
("h". "js_up_item")
("l" . "js_open_current_item")
("i" . "js_open_current_item")
("<down>" . "js_select_next_item")
("<up>" . "js_select_prev_item")
("<right>" . "js_open_current_item")
("<left>". "js_up_item")
("C-m" . "js_open_current_item")
("C-n" . "js_select_next_item")
("C-p" . "js_select_prev_item")
("<" . "select_prev_view_key")
(">". "select_next_view_key")
("F" . "select_prev_view_key")
("H". "select_next_view_key")
)
"The keybinding of EAF RSS Reader."
:type 'cons)
;;;###autoload
(add-to-list 'eaf-app-binding-alist '("rss-reader" . eaf-rss-reader-keybinding))
(setq eaf-rss-reader-module-path (concat (file-name-directory load-file-name) "buffer.py"))
(add-to-list 'eaf-app-module-path-alist '("rss-reader" . eaf-rss-reader-module-path))
(defun eaf-open-rss-reader ()
"Open EAF Rss Reader"
(interactive)
(eaf-open "eaf-rss-reader" "rss-reader"))
(provide 'eaf-rss-reader)
;;; eaf-rss-reader.el ends here