function and nixvim

This commit is contained in:
2026-03-01 23:20:25 +01:00
parent 027a74e588
commit a7c5193cf7
2 changed files with 69 additions and 30 deletions

View File

@@ -85,12 +85,38 @@
}; };
update = { update = {
body = # fish body =
if isNixOS then
# fish
''
echo "=== System packages update==="
pushd /etc/nixos
nix flake update
reload_system
popd
echo "===User packages update==="
pushd $HOME/.config/home-manager
nix flake update
reload_dotfiles
popd
echo "=== Flatpak update==="
if type -q flatpak
echo "===Flatpak update==="
flatpak update --noninteractive
echo "===Flatpak remove unused==="
flatpak uninstall --unused
end
''
else
# fish
'' ''
echo "===System update===" echo "===System update==="
if not type -q yay if not type -q yay
echo "Yay not found… Is this Arch? If yes, then please consider installing it!" echo "Yay not found… Please consider installing it!"
else else
yay yay
end end

View File

@@ -100,6 +100,14 @@
action.__raw = "function() require('harpoon'):list():next() end"; action.__raw = "function() require('harpoon'):list():next() end";
options.desc = "Toggle next harpoon buffer"; options.desc = "Toggle next harpoon buffer";
} }
{
key = "j";
action= "jzz";
}
{
key = "k";
action= "kzz";
}
]; ];
autoGroups = { autoGroups = {
@@ -203,9 +211,14 @@
}; };
}; };
indent-blankline = { cursorline = {
enable = true; enable = true;
settings.scope.enabled = true; timeout = 0;
};
mini-indentscope = {
enable = true;
settings.draw.delay = 0;
}; };
cmp = { cmp = {