Install Broot
This commit is contained in:
parent
1f8aa11ece
commit
73f049a54e
90
broot.conf.toml
Normal file
90
broot.conf.toml
Normal file
@ -0,0 +1,90 @@
|
||||
|
||||
# This configuration file lets you define new commands
|
||||
# or change the shortcut or triggering keys of built-in verbs.
|
||||
# You can change the colors of broot too.
|
||||
#
|
||||
# Configuration documentation is available at https://dystroy.org/broot
|
||||
#
|
||||
|
||||
#####################
|
||||
# user defined verbs:
|
||||
|
||||
# If $EDITOR isn't set on your computer, you should either set it using
|
||||
# something similar to
|
||||
# export EDITOR=/usr/bin/nvim
|
||||
# or just replace it with your editor of choice in the 'execution'
|
||||
# pattern.
|
||||
# Example:
|
||||
# execution = "/usr/bin/nvim {file}"
|
||||
[[verbs]]
|
||||
invocation = "edit"
|
||||
key = "F2"
|
||||
shortcut = "e"
|
||||
execution = "/usr/bin/vim {file}"
|
||||
|
||||
[[verbs]]
|
||||
key = "ctrl-c"
|
||||
execution = ":quit"
|
||||
|
||||
[[verbs]]
|
||||
invocation = "create {subpath}"
|
||||
execution = "$EDITOR {directory}/{subpath}"
|
||||
|
||||
# If $PAGER isn't set on your computer, you should either set it
|
||||
# or just replace it with your viewer of choice in the 'execution'
|
||||
# pattern.
|
||||
# Example:
|
||||
# execution = "less {file}"
|
||||
[[verbs]]
|
||||
name = "view"
|
||||
invocation = "view"
|
||||
execution = "$PAGER {file}"
|
||||
|
||||
#####################
|
||||
# Skin
|
||||
|
||||
# If you want to change the colors of broot,
|
||||
# uncomment the following bloc and start messing
|
||||
# with the various values
|
||||
# Note that some of those colors might not correcly
|
||||
# render on terminals with low capabilities
|
||||
#
|
||||
# [skin]
|
||||
# default = "gray(20) gray(1)"
|
||||
# tree = "rgb(89, 73, 101) none"
|
||||
# file = "gray(21) none"
|
||||
# directory = "rgb(255, 152, 0) none bold"
|
||||
# exe = "rgb(17, 164, 181) none"
|
||||
# link = "Magenta none"
|
||||
# pruning = "rgb(89, 73, 101) none Italic"
|
||||
# perm__ = "gray(5) None"
|
||||
# perm_r = "ansi(94) None"
|
||||
# perm_w = "ansi(132) None"
|
||||
# perm_x = "ansi(65) None"
|
||||
# owner = "gray(12) none"
|
||||
# group = "gray(12) none"
|
||||
# selected_line = "none gray(3)"
|
||||
# char_match = "yellow none"
|
||||
# file_error = "Red none"
|
||||
# flag_label = "gray(16) none"
|
||||
# flag_value = "rgb(255, 152, 0) none bold"
|
||||
# input = "White none"
|
||||
# status_error = "Red gray(2)"
|
||||
# status_job = "ansi(220) gray(5)"
|
||||
# status_normal = "gray(20) gray(3)"
|
||||
# status_italic = "rgb(255, 152, 0) None"
|
||||
# status_bold = "rgb(255, 152, 0) None bold"
|
||||
# status_code = "ansi(229) gray(5)"
|
||||
# status_ellipsis = "gray(19) gray(1)"
|
||||
# scrollbar_track = "rgb(80, 50, 0) none"
|
||||
# scrollbar_thumb = "rgb(255, 187, 0) none"
|
||||
# help_paragraph = "gray(20) none"
|
||||
# help_bold = "rgb(255, 187, 0) none bold"
|
||||
# help_italic = "Magenta rgb(30, 30, 40) italic"
|
||||
# help_code = "gray(21) gray(3)"
|
||||
# help_headers = "rgb(255, 187, 0) none"
|
||||
|
||||
# You may find other skins on
|
||||
# https://dystroy.org/broot/documentation/configuration/#colors
|
||||
# for example a skin suitable for white backgrounds
|
||||
|
@ -64,6 +64,10 @@ function performSetup() {
|
||||
linkFile ".vim"
|
||||
linkFile ".vimrc"
|
||||
|
||||
echo "Linking Broot..."
|
||||
mkdir -p .config/broot
|
||||
ln -fns broot.conf.toml .config/broot/conf.toml
|
||||
|
||||
echo "Linking spacemacs..."
|
||||
echo "(note: you must install spacemacs separately)"
|
||||
linkFile ".spacemacs"
|
||||
@ -87,6 +91,7 @@ function performSetup() {
|
||||
linkFile "bin/exa-0.8.0"
|
||||
linkFile "bin/bat-0.10.0"
|
||||
linkFile "bin/diff-so-fancy"
|
||||
linkFile "bin/broot"
|
||||
|
||||
echo "Installing tmux plugins"
|
||||
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
|
||||
|
Loading…
Reference in New Issue
Block a user