Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
rasmus-kirk committed Jan 13, 2025
1 parent afde8b1 commit e14d930
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 14 deletions.
3 changes: 3 additions & 0 deletions modules/home-manager/helix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ in {
display-inlay-hints = true;
};

end-of-line-diagnostics = "hint";
inline-diagnostics.cursor-line = "error";

cursor-shape = {
insert = "bar";
normal = "block";
Expand Down
1 change: 0 additions & 1 deletion modules/home-manager/homeManagerScripts/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ with lib; let
}
rollback() {
echo ""
gen=$(home-manager generations | grep -P "^[0-9]{4}-[0-9]{2}-[0-9]{2}" | fzf)
genPath=$(echo "$gen" | grep -oP "/nix/store/.*")
genId=$(echo "$gen" | grep -oP "(?<=id )\d+")
Expand Down
17 changes: 4 additions & 13 deletions modules/home-manager/yazi/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -142,19 +142,9 @@ in {
}
{
on = "%";
run = "select_all --state=true";
run = "toggle_all --state=true";
desc = "Select all files";
}
{
on = "J";
run = ["select --state=none" "arrow 1"];
desc = "Select down";
}
{
on = "K";
run = ["select --state=none" "arrow -1"];
desc = "Select up";
}
# Plugins
{
on = "'";
Expand All @@ -168,12 +158,12 @@ in {
}
{
on = "t";
run = "plugin --sync hide-preview";
run = "plugin hide-preview";
desc = "Hide or show preview";
}
{
on = "T";
run = "plugin --sync max-preview";
run = "plugin max-preview";
desc = "Maximize or restore preview";
}
# Goto
Expand Down Expand Up @@ -273,6 +263,7 @@ in {
flavors.gruvbox-dark = plugins.gruvbox-dark;
plugins = {
mkdir = ./plugins/mkdir;
autotab = ./plugins/autotab;
exifaudio = plugins.exifaudio;
full-border = mkYaziPlugin "full-border";
git = mkYaziPlugin "git";
Expand Down

0 comments on commit e14d930

Please sign in to comment.