diff options
| author | Davide Masserut <dm@mssdvd.com> | 2021-01-10 12:00:27 +0100 |
|---|---|---|
| committer | Youmu <condy0919@gmail.com> | 2021-01-10 23:10:30 +0800 |
| commit | be07f6a2905494a97215fa236f3bf40f945dfcea (patch) | |
| tree | cddeddfb9bdd65567ea8e5387c07a0198c7d1429 /modes/elfeed | |
| parent | e7be9f53a05c81ef9e89c2f053ba62048e6afd69 (diff) | |
elfeed: Bind q, ZQ, ZZ to elfeed-search-quit-window
elfeed binds `q` to `elfeed-search-quit-window` which saves the db and
quit the window. As today we only close the window which may lead to
data loss.
Diffstat (limited to 'modes/elfeed')
| -rw-r--r-- | modes/elfeed/evil-collection-elfeed.el | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/modes/elfeed/evil-collection-elfeed.el b/modes/elfeed/evil-collection-elfeed.el index 65c7a21..4cb72a3 100644 --- a/modes/elfeed/evil-collection-elfeed.el +++ b/modes/elfeed/evil-collection-elfeed.el @@ -59,7 +59,12 @@ ;; refresh "gR" 'elfeed-search-fetch ; TODO: Which update function is more useful? - "gr" 'elfeed-search-update--force) + "gr" 'elfeed-search-update--force + + ;; quit + "q" 'elfeed-search-quit-window + "ZQ" 'elfeed-search-quit-window + "ZZ" 'elfeed-search-quit-window) (evil-collection-define-key '(normal visual) 'elfeed-search-mode-map "+" 'elfeed-search-tag-all |
