Skip to content

feat(ultracompact): Adds setting for ultracompact mode #72

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/content/docs/configuration/config.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down
3 changes: 3 additions & 0 deletions src/content/docs/configuration/key-binding.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
5 changes: 5 additions & 0 deletions src/content/docs/guide/theming.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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`:

Expand Down