diff options
Diffstat (limited to 'homes')
-rw-r--r-- | homes/floppydisk/default.nix | 1 | ||||
-rw-r--r-- | homes/floppydisk/neovim-flake.nix | 51 |
2 files changed, 47 insertions, 5 deletions
diff --git a/homes/floppydisk/default.nix b/homes/floppydisk/default.nix index bde8806..3125c23 100644 --- a/homes/floppydisk/default.nix +++ b/homes/floppydisk/default.nix @@ -48,7 +48,6 @@ thefuck zip unzip - peek notion-app-enhanced libresprite qbittorrent diff --git a/homes/floppydisk/neovim-flake.nix b/homes/floppydisk/neovim-flake.nix index 503bda3..dbd77f6 100644 --- a/homes/floppydisk/neovim-flake.nix +++ b/homes/floppydisk/neovim-flake.nix @@ -92,13 +92,56 @@ }; vim.filetree = { - nvimTreeLua = { + nvimTree = { enable = true; - renderer = { - rootFolderLabel = null; + openOnSetup = true; + disableNetrw = true; + + hijackUnnamedBufferWhenOpening = true; + hijackCursor = true; + hijackDirectories = { + enable = true; + autoOpen = true; + }; + + git = { + enable = true; + showOnDirs = false; + timeout = 100; }; + view = { - width = 25; + preserveWindowProportions = false; + cursorline = false; + width = { + min = 35; + max = -1; + padding = 1; + }; + }; + + renderer = { + indentMarkers.enable = true; + rootFolderLabel = false; + + icons = { + modifiedPlacement = "after"; + gitPlacement = "after"; + show.git = true; + show.modified = true; + }; + }; + + diagnostics.enable = true; + + modified = { + enable = true; + showOnDirs = false; + showOnOpenDirs = true; + }; + + mappings = { + toggle = "<C-w>"; }; }; }; |