summaryrefslogtreecommitdiff
path: root/.config/atuin/config.toml
blob: 7545827090810b8a9560de3aca4b8bae4d378dbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# date format used, either "us" or "uk"
dialect = "uk"

## default timezone to use when displaying time
## either "l", "local" to use the system's current local timezone, or an offset
## from UTC in the format of "<+|->H[H][:M[M][:S[S]]]"
## for example: "+9", "-05", "+03:30", "-01:23:45", etc.
# timezone = "local"

# TODO: Once I have my own server setup then replace this
# address of the sync server
# sync_address = "https://api.atuin.sh"

# which style to use, possible values: auto, full, compact
style = "compact"

# the maximum number of lines the interface should take up
inline_height = 12

## enable or disable showing a preview of the selected command
show_preview = false

## possible values: emacs, subl
# word_jump_mode = "emacs"

## characters that count as a part of a word
# word_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"

## number of context lines to show when scrolling by pages
# scroll_context_lines = 1

## use ctrl instead of alt as the shortcut modifier key for numerical UI shortcuts
## alt-0 .. alt-9
ctrl_n_shortcuts = false

# default history list format - can also be specified with the --format arg
history_format = "{time}\t{command}\t{duration}yooo"

# prevent commands matching any of these regexes from being written to history.
history_filter = ["^cd", "^.*--secret=.+"]

show_help = false

# Don't run command on enter, allow editing it
enter_accept = false

## "emacs", "vim-insert", "vim-normal" or "auto" to detect based on the shell
keymap_mode = "vim-insert"

[stats]
# Set commands where we should consider the subcommand for statistics. Eg, kubectl get vs just kubectl
common_subcommands = [
    "cargo",
    "docker",
    "git",
    "go",
    "nix",
    "npm",
    "pnpm",
    "tmux",
]

## Set commands that should be totally stripped and ignored from stats
common_prefix = ["sudo"]

# Set commands that will be completely ignored from stats
ignored_commands = ["cd", "ls"]

[keys]
# Defaults to true. If disabled, using the up/down key won't exit the TUI when scrolled past the first/last entry.
scroll_exits = false

[sync]
# Enable sync v2 by default
# This ensures that sync v2 is enabled for new installs only
# In a later release it will become the default across the board
records = true