From 1a5cff2ba64012d229cd307c7c7152603b0dcf2a Mon Sep 17 00:00:00 2001 From: Rolv Apneseth Date: Thu, 28 Dec 2023 18:42:25 +0000 Subject: [PATCH] docs: new `filter` command --- docs/configuration/keymap.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/docs/configuration/keymap.md b/docs/configuration/keymap.md index 956730e6..c3520264 100644 --- a/docs/configuration/keymap.md +++ b/docs/configuration/keymap.md @@ -11,12 +11,13 @@ If you haven't created and used your own configuration file yet, please see [Con ## manager -- escape: Cancel find, exit visual mode, clear selected, or cancel search. +- escape: Cancel find, exit visual mode, clear selected, cancel filter, or cancel search. - `--all`: Do all of the above. - `--find`: Cancel find. - `--visual`: Exit visual mode. - `--select`: Clear selected. + - `--filter`: Cancel filter. - `--search`: Cancel search. Automatically determine the operation by default, and it will only execute the selected operation after specifying the option; multiple options can be stacked. @@ -142,7 +143,7 @@ If you haven't created and used your own configuration file yet, please see [Con - find - - `query`: Optional, the query to find for. If not provided, a interactive UI will be used to input with. + - `query`: Optional, the query to find for. If not provided, an interactive UI will be used to input with. - `--previous`: Find for the previous occurrence. - `--smart`: Use smart-case when finding, i.e. case-sensitive if the query contains uppercase characters, otherwise case-insensitive. - `--insensitive`: Use case-insensitive find. @@ -151,6 +152,12 @@ If you haven't created and used your own configuration file yet, please see [Con - `--previous`: Move to the previous occurrence. +- filter + + - `query`: Optional, the query to filter for. If not provided, an interactive UI will be used to input with. + - `--smart`: Use smart-case when filtering, i.e. case-sensitive if the query contains uppercase characters, otherwise case-insensitive. + - `--insensitive`: Use case-insensitive filter. + - sort - `by`: Optional, if not provided, the sort method will be kept unchanged.