From 3d1cf01aebee993fc7bea6768dced3c79bfb1fdd Mon Sep 17 00:00:00 2001 From: Silas Schöffel Date: Tue, 14 Oct 2025 00:28:18 +0200 Subject: hm/nixvim: rename neo-tree settings --- hm/nixvim/config.nix | 42 +++++++++++++++++++++++++++++++++--------- 1 file changed, 33 insertions(+), 9 deletions(-) diff --git a/hm/nixvim/config.nix b/hm/nixvim/config.nix index cedf950..ad0faa6 100644 --- a/hm/nixvim/config.nix +++ b/hm/nixvim/config.nix @@ -9,7 +9,10 @@ pkgs: { textwidth = 83; linebreak = true; - completeopt = ["menuone" "noselect"]; + completeopt = [ + "menuone" + "noselect" + ]; wildmenu = true; wildmode = builtins.concatStringsSep "," [ "longest" @@ -19,22 +22,38 @@ pkgs: { }; keymaps = [ { - mode = ["n" "i" "t"]; + mode = [ + "n" + "i" + "t" + ]; key = ""; action = ''h''; } { - mode = ["n" "i" "t"]; + mode = [ + "n" + "i" + "t" + ]; key = ""; action = ''j''; } { - mode = ["n" "i" "t"]; + mode = [ + "n" + "i" + "t" + ]; key = ""; action = ''k''; } { - mode = ["n" "i" "t"]; + mode = [ + "n" + "i" + "t" + ]; key = ""; action = ''l''; } @@ -51,7 +70,10 @@ pkgs: { action = ":Neotree float git_status"; } { - mode = ["n" "i"]; + mode = [ + "n" + "i" + ]; key = ""; action = "noh"; } @@ -78,7 +100,7 @@ pkgs: { enable = true; settings = { powerline_fonts = 1; - theme = "base16_black_metal"; #"base16_gruvbox_dark_pale"; + theme = "base16_black_metal"; # "base16_gruvbox_dark_pale"; }; }; cmp = { @@ -181,8 +203,10 @@ pkgs: { }; neo-tree = { enable = true; - autoCleanAfterSessionRestore = true; - closeIfLastWindow = true; + settings = { + auto_clean_after_session_restore = true; + close_if_last_window = true; + }; }; nvim-autopairs = { enable = true; -- cgit 1.4.1