From 41058a7b8bcc1c0d620fb55b423547148441bc17 Mon Sep 17 00:00:00 2001 From: Timm Heuss Date: Fri, 2 Aug 2024 20:38:53 +0200 Subject: [PATCH] Vim keys for filter dialog handling, autogen filter --- .config/newsboat/config | 2 +- .config/newsboat/keys | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.config/newsboat/config b/.config/newsboat/config index 12f455f..efae643 100644 --- a/.config/newsboat/config +++ b/.config/newsboat/config @@ -46,7 +46,7 @@ include ~/.config/newsboat/filters include ~/.config/newsboat/theme #include ~/.config/newsboat/highlights -include ~/.config/newsboat/highlights-autogen +include ~/.config/newsboat/autogen highlight-article "tags # \"red\"" red default diff --git a/.config/newsboat/keys b/.config/newsboat/keys index ce61931..e9de08c 100644 --- a/.config/newsboat/keys +++ b/.config/newsboat/keys @@ -18,6 +18,7 @@ bind-key j down article bind-key j next articlelist bind-key j next feedlist bind-key j next tagselection +bind-key j next filterselection unbind-key J bind-key J next article bind-key J next-feed articlelist @@ -27,6 +28,8 @@ bind-key k up article bind-key k prev articlelist bind-key k prev feedlist bind-key k prev tagselection +bind-key k prev filterselection +unbind-key J unbind-key K bind-key K prev article bind-key K prev-feed articlelist @@ -36,6 +39,7 @@ bind-key l open-in-browser article bind-key l open articlelist bind-key l open feedlist bind-key l open tagselection +bind-key l open filterselection unbind-key h bind-key h quit