diff options
author | Frankie B <git@diskfloppy.me> | 2023-08-08 17:40:34 +0100 |
---|---|---|
committer | Frankie B <git@diskfloppy.me> | 2023-08-08 18:07:31 +0100 |
commit | c48a34747e46be6baa21eb0618c3b329ebfe5887 (patch) | |
tree | b93ab3a2c59f447b309d99eae7aae148a281234c /homes | |
parent | ecada83de0d0bf1576748cdd9cdee3cb27979362 (diff) |
Update flake
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>"; }; }; }; |