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