From 26c00387f4353fdd18c89050804e1805245b54d6 Mon Sep 17 00:00:00 2001 From: Nikolaos Karaolidis Date: Tue, 2 Sep 2025 17:46:21 +0000 Subject: [PATCH] Update nvf Signed-off-by: Nikolaos Karaolidis --- .../configs/user/console/neovim/default.nix | 22 ++++++++++++------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/hosts/common/configs/user/console/neovim/default.nix b/hosts/common/configs/user/console/neovim/default.nix index ca4e988..4b4c492 100644 --- a/hosts/common/configs/user/console/neovim/default.nix +++ b/hosts/common/configs/user/console/neovim/default.nix @@ -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 '' + { + [""] = "noop", + } + ''; }; }; }; @@ -135,7 +136,9 @@ tabline = { nvimBufferline = { enable = true; + mappings.closeCurrent = "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"; + }; }; }; }