diff --git a/src/content/docs/configuration/config.mdx b/src/content/docs/configuration/config.mdx index 0bdb41a..35791ad 100644 --- a/src/content/docs/configuration/config.mdx +++ b/src/content/docs/configuration/config.mdx @@ -252,6 +252,15 @@ Default: `true` Configure whether or not to show tabs for search and inspect. +### `auto_hide_height` +Atuin version: >= 18.4 + +Default: `8` + +Set Atuin to hide lines when a minimum number of rows is subceeded. This has no effect except +when `compact` style is being used (see `style` above), and currently applies to only the +interactive search and inspector. It can be turned off entirely by setting to `0`. + ### `exit_mode` Default: `return-original` diff --git a/src/content/docs/configuration/key-binding.mdx b/src/content/docs/configuration/key-binding.mdx index e2ad9ad..013b332 100644 --- a/src/content/docs/configuration/key-binding.mdx +++ b/src/content/docs/configuration/key-binding.mdx @@ -208,3 +208,6 @@ Open the inspector with ctrl-o | Esc | Close the inspector, returning to the shell | | ctrl+o | Close the inspector, returning to search view | | ctrl+d | Delete the inspected item from the history | +| ⬆ | Inspect the previous item in the history | +| ⬇ | Inspect the next item in the history | +| tab | Select current item and edit | diff --git a/src/content/docs/guide/theming.mdx b/src/content/docs/guide/theming.mdx index ad09712..2d3d3cd 100644 --- a/src/content/docs/guide/theming.mdx +++ b/src/content/docs/guide/theming.mdx @@ -22,6 +22,7 @@ Where `THEMENAME` is a known theme. The following themes are available out-of-th * default theme (can be explicitly referenced with an empty name `""`) * `autumn` theme * `marine` theme +* `(none)` theme (removes all styling) These are present to ensure users and developers can try out theming, but in general, you will need to download themes or make your own. @@ -102,6 +103,10 @@ where not all of the *Meanings* need to be explicitly defined. If they are absen then the color will be chosen from the parent theme, if one is defined, or if that key is missing in the `theme` block, from the default theme. +If the entire named theme is missing, which is inherently an error, then the theme +will drop to `(none)` and leave Atuin unstyled, rather than trying to fallback to +the any default, or other, theme. + This theme file should be moved to `~/.config/atuin/themes/my-theme.toml` and the following added to `~/.config/atuin/config.toml`: