Skip to content

Commit

Permalink
feat(editor): float nvim tree and update icons
Browse files Browse the repository at this point in the history
  • Loading branch information
Pyxels committed Oct 11, 2024
1 parent 52b8d1f commit 72f5be7
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions config/editor.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
nvim-tree = {
enable = true;
disableNetrw = true;
hijackNetrw = true;
autoClose = true;
actions.openFile.quitOnOpen = true;
view.width = {
Expand All @@ -27,6 +28,38 @@
end
'';
};
view = {
float = {
enable = true;
};
};
renderer = {
icons = {
gitPlacement = "after";
modifiedPlacement = "after";
glyphs = {
default = "";
symlink = "";
folder = {
default = "/";
empty = "/";
emptyOpen = "/";
open = "/";
symlink = "/";
symlinkOpen = "/";
};
git = {
unstaged = "*";
staged = "✓";
unmerged = " ";
renamed = "->";
untracked = "?";
deleted = "x";
ignored = "◌";
};
};
};
};
};
web-devicons.enable = true;

Expand Down

0 comments on commit 72f5be7

Please sign in to comment.