From 62b005366f630712b2a4ef0fe8ec2c4a8008ff63 Mon Sep 17 00:00:00 2001 From: sxyazi Date: Tue, 7 Nov 2023 08:31:13 +0800 Subject: [PATCH] docs: add completion keymap and theme --- docs/configuration/keymap.md | 12 ++++++++++++ docs/configuration/theme.md | 18 +++++++++++++++--- 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/docs/configuration/keymap.md b/docs/configuration/keymap.md index 028e45c2..2b820d76 100644 --- a/docs/configuration/keymap.md +++ b/docs/configuration/keymap.md @@ -261,3 +261,15 @@ If you haven't created and used your own configuration file yet, please see [Con - arrow - `n`: Move the cursor up or down n lines. Negative value for up, positive value for down. - filter: Apply a filter for the help items. + +## Completion + +- close: Hide the completion menu. + + - `--submit`: Submit the completion. + +- arrow + + - `n`: Move the cursor up or down n lines. Negative value for up, positive value for down. + +- help: Open the help menu. diff --git a/docs/configuration/theme.md b/docs/configuration/theme.md index 3b16427f..540f6c83 100644 --- a/docs/configuration/theme.md +++ b/docs/configuration/theme.md @@ -110,6 +110,12 @@ Permissions - permissions_x (Style): Execute permission. - permissions_s (Style): `-` separator. +## Select + +- border (Style): Border style. +- active (Style): Selected item style. +- inactive (Style): Unselected item style. + ## Input - border (Style): Border style. @@ -117,11 +123,17 @@ Permissions - value (Style): Value style. - selected (Style): Selected value style. -## Select +## Completion - border (Style): Border style. -- active (Style): selected item style. -- inactive (Style): unselected item style. +- active (Style): Selected item style. +- inactive (Style): Unselected item style. + +Icons + +- icon_file (String): File icon. +- icon_folder (String): Folder icon. +- icon_command (String): Command icon. ## Tasks