Update nvf

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-09-02 17:46:21 +00:00
parent 20b38b0467
commit 26c00387f4

View File

@@ -1,5 +1,5 @@
{ user, home }: { user, home }:
{ inputs, ... }: { inputs, lib, ... }:
{ {
environment.persistence = { environment.persistence = {
"/persist/state"."${home}/.local/share/nvf" = { }; "/persist/state"."${home}/.local/share/nvf" = { };
@@ -27,7 +27,7 @@
# }; # };
binds = { binds = {
hardtime-nvim.enable = true; # hardtime-nvim.enable = true;
whichKey.enable = true; whichKey.enable = true;
}; };
@@ -51,10 +51,11 @@
setupOpts = { setupOpts = {
git_status_async = true; git_status_async = true;
filesystem = { window.mappings = lib.generators.mkLuaInline ''
position = "current"; {
hijack_netrw_behavior = "open_current"; ["<space>"] = "noop",
}; }
'';
}; };
}; };
}; };
@@ -135,7 +136,9 @@
tabline = { tabline = {
nvimBufferline = { nvimBufferline = {
enable = true; enable = true;
mappings.closeCurrent = "<leader>bd";
setupOpts.options = { setupOpts.options = {
indicator.style = "icon";
show_close_icon = false; show_close_icon = false;
show_buffer_close_icons = false; show_buffer_close_icons = false;
}; };
@@ -185,7 +188,7 @@
# multicursors.enable = true; # multicursors.enable = true;
# nvim-biscuits.enable = true; # nvim-biscuits.enable = true;
# smart-splits.enable = true; # smart-splits.enable = true;
# surround.enable = true; surround.enable = true;
# undotree.enable = true; # undotree.enable = true;
# yazi-nvim.enable = true; # yazi-nvim.enable = true;
}; };
@@ -265,7 +268,10 @@
}; };
}; };
zsh.p10k.extraRightPromptElements = [ "vim_shell" ]; zsh = {
p10k.extraRightPromptElements = [ "vim_shell" ];
shellAliases.v = "nvim";
};
}; };
}; };
} }