move old nixos-config over here
This commit is contained in:
parent
346d80ae7e
commit
54baace7c1
35 changed files with 850 additions and 44 deletions
home/common
63
home/common/broot.nix
Normal file
63
home/common/broot.nix
Normal file
|
@ -0,0 +1,63 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
programs.broot = {
|
||||
enable = true;
|
||||
enableFishIntegration = true;
|
||||
settings = {
|
||||
content_search_max_file_size = "10MB";
|
||||
enable_kitty_keyboard = lib.mkForce true;
|
||||
icon_theme = "nerdfont";
|
||||
lines_before_match_in_preview = 1;
|
||||
lines_after_match_in_preview = 1;
|
||||
quit_on_last_cancel = true;
|
||||
show_selection_mark = true;
|
||||
special_paths = {
|
||||
"~/media" = {
|
||||
list = "never";
|
||||
sum = "never";
|
||||
};
|
||||
"~/.config" = {
|
||||
show = "always";
|
||||
};
|
||||
"trav" = {
|
||||
show = "always";
|
||||
list = "always";
|
||||
sum = "never";
|
||||
};
|
||||
};
|
||||
true_colors = true;
|
||||
|
||||
verbs = [
|
||||
{
|
||||
invocation = "broot_home";
|
||||
key = "ctrl-7";
|
||||
external = "br $HOME";
|
||||
from_shell = true;
|
||||
leave_broot = true;
|
||||
}
|
||||
{
|
||||
invocation = "edit";
|
||||
key = "enter";
|
||||
shortcut = "e";
|
||||
external = "edit {file}";
|
||||
apply_to = "text_file";
|
||||
from_shell = true;
|
||||
leave_broot = true;
|
||||
}
|
||||
{
|
||||
invocation = "nvim";
|
||||
key = "enter";
|
||||
apply_to = "text_file";
|
||||
external = "edit {file}";
|
||||
from_shell = true;
|
||||
leave_broot = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue