fix(config): sync config_cmd.go template with init.go template
This commit is contained in:
+16
-10
@@ -53,9 +53,12 @@ mode = "last"
|
|||||||
# enable debug logging
|
# enable debug logging
|
||||||
debug = false
|
debug = false
|
||||||
|
|
||||||
# auto expand alias when typing space
|
# automatically expand aliases on space
|
||||||
expand-alias = true
|
expand-alias = true
|
||||||
|
|
||||||
|
# automatically execute command after accepting suggestion
|
||||||
|
auto-execute = false
|
||||||
|
|
||||||
[ui]
|
[ui]
|
||||||
# visual style: "modern" (icons, category pills, shortcut footer) or "classic" (minimalist, centered number, no icons)
|
# visual style: "modern" (icons, category pills, shortcut footer) or "classic" (minimalist, centered number, no icons)
|
||||||
style = "modern"
|
style = "modern"
|
||||||
@@ -63,24 +66,20 @@ style = "modern"
|
|||||||
# enable Nerd Fonts icons in overlay menu
|
# enable Nerd Fonts icons in overlay menu
|
||||||
nerd-fonts = true
|
nerd-fonts = true
|
||||||
|
|
||||||
|
# show hidden files with dot prefix
|
||||||
|
hidden-files = false
|
||||||
|
|
||||||
# enable inline ghost text
|
# enable inline ghost text
|
||||||
ghost-text = true
|
ghost-text = true
|
||||||
|
|
||||||
# show hidden files (starting with dot) in file generator
|
|
||||||
hidden-files = false
|
|
||||||
|
|
||||||
# maximum suggestions to display
|
# maximum suggestions to display
|
||||||
max-suggestions = 100
|
max-suggestions = 100
|
||||||
|
|
||||||
# maximum height of the overlay
|
# maximum height of the overlay
|
||||||
max-height = 15
|
max-height = 15
|
||||||
|
|
||||||
[keybindings]
|
# maximum width of the overlay (0 = responsive to terminal)
|
||||||
# toggle between spec and history mode
|
max-width = 0
|
||||||
toggle-mode = "ctrl+r"
|
|
||||||
|
|
||||||
# toggle menu visibility
|
|
||||||
toggle-menu = "ctrl+space"
|
|
||||||
|
|
||||||
[git]
|
[git]
|
||||||
# hide current branch in checkout/switch list
|
# hide current branch in checkout/switch list
|
||||||
@@ -98,6 +97,13 @@ channel = "stable"
|
|||||||
|
|
||||||
# interval between update checks, e.g. "24h", "6h", "30m"
|
# interval between update checks, e.g. "24h", "6h", "30m"
|
||||||
check-interval = "24h"
|
check-interval = "24h"
|
||||||
|
|
||||||
|
[keybindings]
|
||||||
|
toggle-mode = "ctrl+r"
|
||||||
|
toggle-menu = "shift+tab"
|
||||||
|
select = "tab"
|
||||||
|
navigate-up = "up"
|
||||||
|
navigate-down = "down"
|
||||||
`
|
`
|
||||||
err = os.WriteFile(path, []byte(defaultContent), 0644)
|
err = os.WriteFile(path, []byte(defaultContent), 0644)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user