···11+## where to store your database, default is your system data directory
22+## linux/mac: ~/.local/share/atuin/history.db
33+## windows: %USERPROFILE%/.local/share/atuin/history.db
44+# db_path = "~/.history.db"
55+66+## where to store your encryption key, default is your system data directory
77+## linux/mac: ~/.local/share/atuin/key
88+## windows: %USERPROFILE%/.local/share/atuin/key
99+# key_path = "~/.key"
1010+1111+## where to store your auth session token, default is your system data directory
1212+## linux/mac: ~/.local/share/atuin/session
1313+## windows: %USERPROFILE%/.local/share/atuin/session
1414+# session_path = "~/.session"
1515+1616+## date format used, either "us" or "uk"
1717+dialect = "uk"
1818+1919+## default timezone to use when displaying time
2020+## either "l", "local" to use the system's current local timezone, or an offset
2121+## from UTC in the format of "<+|->H[H][:M[M][:S[S]]]"
2222+## for example: "+9", "-05", "+03:30", "-01:23:45", etc.
2323+# timezone = "local"
2424+2525+## enable or disable automatic sync
2626+# auto_sync = true
2727+2828+## enable or disable automatic update checks
2929+# update_check = true
3030+3131+## address of the sync server
3232+# sync_address = "https://api.atuin.sh"
3333+3434+## how often to sync history. note that this is only triggered when a command
3535+## is ran, so sync intervals may well be longer
3636+## set it to 0 to sync after every command
3737+# sync_frequency = "10m"
3838+3939+## which search mode to use
4040+## possible values: prefix, fulltext, fuzzy, skim
4141+# search_mode = "fuzzy"
4242+4343+## which filter mode to use
4444+## possible values: global, host, session, directory
4545+# filter_mode = "global"
4646+4747+## With workspace filtering enabled, Atuin will filter for commands executed
4848+## in any directory within a git repository tree (default: false)
4949+# workspaces = false
5050+5151+## which filter mode to use when atuin is invoked from a shell up-key binding
5252+## the accepted values are identical to those of "filter_mode"
5353+## leave unspecified to use same mode set in "filter_mode"
5454+filter_mode_shell_up_key_binding = "directory"
5555+5656+## which search mode to use when atuin is invoked from a shell up-key binding
5757+## the accepted values are identical to those of "search_mode"
5858+## leave unspecified to use same mode set in "search_mode"
5959+# search_mode_shell_up_key_binding = "fuzzy"
6060+6161+## which style to use
6262+## possible values: auto, full, compact
6363+style = "auto"
6464+6565+## the maximum number of lines the interface should take up
6666+## set it to 0 to always go full screen
6767+# inline_height = 0
6868+6969+## Invert the UI - put the search bar at the top , Default to `false`
7070+# invert = false
7171+7272+## enable or disable showing a preview of the selected command
7373+## useful when the command is longer than the terminal width and is cut off
7474+# show_preview = true
7575+7676+## what to do when the escape key is pressed when searching
7777+## possible values: return-original, return-query
7878+# exit_mode = "return-original"
7979+8080+## possible values: emacs, subl
8181+# word_jump_mode = "emacs"
8282+8383+## characters that count as a part of a word
8484+# word_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
8585+8686+## number of context lines to show when scrolling by pages
8787+# scroll_context_lines = 1
8888+8989+## use ctrl instead of alt as the shortcut modifier key for numerical UI shortcuts
9090+## alt-0 .. alt-9
9191+# ctrl_n_shortcuts = false
9292+9393+## default history list format - can also be specified with the --format arg
9494+# history_format = "{time}\t{command}\t{duration}"
9595+9696+## prevent commands matching any of these regexes from being written to history.
9797+## Note that these regular expressions are unanchored, i.e. if they don't start
9898+## with ^ or end with $, they'll match anywhere in the command.
9999+## For details on the supported regular expression syntax, see
100100+## https://docs.rs/regex/latest/regex/#syntax
101101+# history_filter = [
102102+# "^secret-cmd",
103103+# "^innocuous-cmd .*--secret=.+",
104104+# ]
105105+106106+## prevent commands run with cwd matching any of these regexes from being written
107107+## to history. Note that these regular expressions are unanchored, i.e. if they don't
108108+## start with ^ or end with $, they'll match anywhere in CWD.
109109+## For details on the supported regular expression syntax, see
110110+## https://docs.rs/regex/latest/regex/#syntax
111111+# cwd_filter = [
112112+# "^/very/secret/area",
113113+# ]
114114+115115+## Configure the maximum height of the preview to show.
116116+## Useful when you have long scripts in your history that you want to distinguish
117117+## by more than the first few lines.
118118+# max_preview_height = 4
119119+120120+## Configure whether or not to show the help row, which includes the current Atuin
121121+## version (and whether an update is available), a keymap hint, and the total
122122+## amount of commands in your history.
123123+# show_help = true
124124+125125+## Configure whether or not to show tabs for search and inspect
126126+# show_tabs = true
127127+128128+## Defaults to true. This matches history against a set of default regex, and will not save it if we get a match. Defaults include
129129+## 1. AWS key id
130130+## 2. Github pat (old and new)
131131+## 3. Slack oauth tokens (bot, user)
132132+## 4. Slack webhooks
133133+## 5. Stripe live/test keys
134134+# secrets_filter = true
135135+136136+## Defaults to true. If enabled, upon hitting enter Atuin will immediately execute the command. Press tab to return to the shell and edit.
137137+# This applies for new installs. Old installs will keep the old behaviour unless configured otherwise.
138138+enter_accept = true
139139+140140+## Defaults to "emacs". This specifies the keymap on the startup of `atuin
141141+## search`. If this is set to "auto", the startup keymap mode in the Atuin
142142+## search is automatically selected based on the shell's keymap where the
143143+## keybinding is defined. If this is set to "emacs", "vim-insert", or
144144+## "vim-normal", the startup keymap mode in the Atuin search is forced to be
145145+## the specified one.
146146+# keymap_mode = "auto"
147147+148148+## Cursor style in each keymap mode. If specified, the cursor style is changed
149149+## in entering the cursor shape. Available values are "default" and
150150+## "{blink,steady}-{block,underline,bar}".
151151+# keymap_cursor = { emacs = "blink-block", vim_insert = "blink-block", vim_normal = "steady-block" }
152152+153153+# network_connect_timeout = 5
154154+# network_timeout = 5
155155+156156+## Timeout (in seconds) for acquiring a local database connection (sqlite)
157157+# local_timeout = 5
158158+159159+## Set this to true and Atuin will minimize motion in the UI - timers will not update live, etc.
160160+## Alternatively, set env NO_MOTION=true
161161+# prefers_reduced_motion = false
162162+163163+[stats]
164164+## Set commands where we should consider the subcommand for statistics. Eg, kubectl get vs just kubectl
165165+# common_subcommands = [
166166+# "apt",
167167+# "cargo",
168168+# "composer",
169169+# "dnf",
170170+# "docker",
171171+# "git",
172172+# "go",
173173+# "ip",
174174+# "kubectl",
175175+# "nix",
176176+# "nmcli",
177177+# "npm",
178178+# "pecl",
179179+# "pnpm",
180180+# "podman",
181181+# "port",
182182+# "systemctl",
183183+# "tmux",
184184+# "yarn",
185185+# ]
186186+187187+## Set commands that should be totally stripped and ignored from stats
188188+# common_prefix = ["sudo"]
189189+190190+## Set commands that will be completely ignored from stats
191191+# ignored_commands = [
192192+# "cd",
193193+# "ls",
194194+# "vi"
195195+# ]
196196+197197+[keys]
198198+# Defaults to true. If disabled, using the up/down key won't exit the TUI when scrolled past the first/last entry.
199199+# scroll_exits = false
200200+201201+[sync]
202202+# Enable sync v2 by default
203203+# This ensures that sync v2 is enabled for new installs only
204204+# In a later release it will become the default across the board
205205+records = true
206206+207207+[preview]
208208+## which preview strategy to use to calculate the preview height (respects max_preview_height).
209209+## possible values: auto, static
210210+## auto: length of the selected command.
211211+## static: length of the longest command stored in the history.
212212+# strategy = "auto"
213213+214214+[daemon]
215215+## Enables using the daemon to sync. Requires the daemon to be running in the background. Start it with `atuin daemon`
216216+# enabled = false
217217+218218+## How often the daemon should sync in seconds
219219+# sync_frequency = 300
220220+221221+## The path to the unix socket used by the daemon (on unix systems)
222222+## linux/mac: ~/.local/share/atuin/atuin.sock
223223+## windows: Not Supported
224224+# socket_path = "~/.local/share/atuin/atuin.sock"
225225+226226+## Use systemd socket activation rather than opening the given path (the path must still be correct for the client)
227227+## linux: false
228228+## mac/windows: Not Supported
229229+# systemd_socket = false
230230+231231+## The port that should be used for TCP on non unix systems
232232+# tcp_port = 8889