Add neovim config using nixvim

This commit is contained in:
Salar Rahmanian 2025-10-03 20:20:39 -07:00
parent 5151384820
commit 2708a86df9
18 changed files with 864 additions and 9 deletions

View file

@ -0,0 +1,25 @@
{ ... }:
{
programs.nixvim = {
keymaps = [
{
mode = "n";
key = "<leader>m";
action = ":Neotree action=focus reveal toggle<CR>";
options.silent = true;
}
];
plugins.neo-tree = {
enable = true;
closeIfLastWindow = true;
window = {
width = 30;
autoExpandWidth = true;
position = "right";
};
};
};
}