aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorRichard Jones <4550158+RichardDRJ@users.noreply.github.com>2023-07-31 18:36:58 +0100
committerGitHub <noreply@github.com>2023-07-31 18:36:58 +0100
commitd7f89296564fc3acb79a1c6f361797f58f4efffe (patch)
treee3f1dddead8fb416b880f006552299681c76b4e4 /docs
parentfix: nushell empty hooks (#1138) (diff)
downloadatuin-d7f89296564fc3acb79a1c6f361797f58f4efffe.zip
Add support for `max_preview_height` setting (#1088)
Diffstat (limited to 'docs')
-rw-r--r--docs/docs/config/config.md8
1 files changed, 8 insertions, 0 deletions
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.