From d7f89296564fc3acb79a1c6f361797f58f4efffe Mon Sep 17 00:00:00 2001 From: Richard Jones <4550158+RichardDRJ@users.noreply.github.com> Date: Mon, 31 Jul 2023 18:36:58 +0100 Subject: Add support for `max_preview_height` setting (#1088) --- docs/docs/config/config.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'docs') diff --git a/docs/docs/config/config.md b/docs/docs/config/config.md index 209d34cd..dd7c80fe 100644 --- a/docs/docs/config/config.md +++ b/docs/docs/config/config.md @@ -196,6 +196,14 @@ Configure whether or not to show a preview of the selected command. Useful when the command is longer than the terminal width and is cut off. +### `max_preview_height` + +Configure the maximum height of the preview to show. + +Useful when you have long scripts in your history that you want to distinguish by more than the first few lines. + +Defaults to `4`. + ### `show_help` Configure whether or not to show the help row, which includes the current Atuin version (and whether an update is available), a keymap hint, and the total amount of commands in your history. -- cgit v1.3.1