broot goodness

This commit is contained in:
Daniel Lundin 2024-05-25 20:08:07 +02:00
parent 92cf0fe62a
commit d70cf31829
No known key found for this signature in database
4 changed files with 41 additions and 9 deletions

View file

@ -0,0 +1,17 @@
verbs: [
{
invocation: "ok"
key: "enter"
leave_broot: true
execution: ":print_path"
apply_to: "directory"
}
{
invocation: "broot_home"
keys: ["ctrl-7", "ctrl-g"]
execution: "broot -f --conf ~/.config/broot/select.hjson $HOME"
leave_broot: true
}
]

View file

@ -1,6 +0,0 @@
[[verbs]]
invocation = "ok"
key = "enter"
leave_broot = true
execution = ":print_path"
apply_to = "directory"

View file

@ -16,6 +16,13 @@ verbs: [
leave_broot: true
}
{
invocation: broot_home
key: ctrl-7
execution: broot $HOME
leave_broot: true
}
# You should customize this standard opening of text files.
# If you edit text files in your terminal (vi, emacs, helix, eg.), then
# you'll find it convenient to change the 'key' from 'ctrl-e' to 'enter'.