You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
904 B
Cheetah

modal = true
default_flags = "gh"
show_selection_mark = true
{{#if cfg.broot.icons}}
icon_theme = "vscode"
{{/if}}
[special-paths]
"**/.git" = "hide"
"**/target" = "no-enter"
"**/dist" = "no-enter"
"**/out" = "no-enter"
[[verbs]]
key = "enter"
shortcut = "e"
external = "nu {{dirs.data}}/scripts/ide.nu open-file '{file}'"
apply_to = "file"
leave_broot = false
[[verbs]]
invocation = "touch {name}"
external = "nu -c \"touch {directory}/{name}\""
apply_to = "any"
leave_broot = false
[[verb]]
invocation = "git_diff"
shortcut = "gd"
leave_broot = "false"
execution = "git difftool -y {file}"
apply_to = "file"
[[verbs]]
invocation = "open_leave"
key = "alt-enter"
shortcut = "ol"
external = "nu -c \"touch {directory}/{name}\""
apply_to = "file"
[[verbs]]
invocation = "open_stay"
key = "enter"
shortcut = "os"
external = "nu -c \"touch {directory}/{name}\""
leave_broot = false
apply_to = "file"