Update nvf

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-09-03 07:49:05 +01:00
parent 20b38b0467
commit 20ebd6fc5f

View File

@@ -1,5 +1,5 @@
{ user, home }:
{ inputs, ... }:
{ inputs, lib, ... }:
{
environment.persistence = {
"/persist/state"."${home}/.local/share/nvf" = { };
@@ -21,13 +21,12 @@
viAlias = true;
vimAlias = true;
# autocomplete = {
# blink-cmp.enable = true;
# enableSharedCmpSources = true;
# };
autocomplete = {
blink-cmp.enable = true;
};
binds = {
hardtime-nvim.enable = true;
# hardtime-nvim.enable = true;
whichKey.enable = true;
};
@@ -51,10 +50,11 @@
setupOpts = {
git_status_async = true;
filesystem = {
position = "current";
hijack_netrw_behavior = "open_current";
};
window.mappings = lib.generators.mkLuaInline ''
{
["<space>"] = "noop",
}
'';
};
};
};
@@ -135,7 +135,9 @@
tabline = {
nvimBufferline = {
enable = true;
mappings.closeCurrent = "<leader>bd";
setupOpts.options = {
indicator.style = "icon";
show_close_icon = false;
show_buffer_close_icons = false;
};
@@ -182,10 +184,9 @@
motion = {
precognition.enable = true;
};
# multicursors.enable = true;
# nvim-biscuits.enable = true;
# smart-splits.enable = true;
# surround.enable = true;
surround.enable = true;
# undotree.enable = true;
# yazi-nvim.enable = true;
};
@@ -199,6 +200,7 @@
# nvim-scrollbar.enable = true;
nvim-web-devicons.enable = true;
};
keymaps = [
{
mode = [ "n" ];
@@ -265,7 +267,10 @@
};
};
zsh.p10k.extraRightPromptElements = [ "vim_shell" ];
zsh = {
p10k.extraRightPromptElements = [ "vim_shell" ];
shellAliases.v = "nvim";
};
};
};
}