Added: Nixvim modules

This commit is contained in:
2026-01-27 00:48:01 +01:00
parent de5c0feaa3
commit 3ce95ebe41
12 changed files with 231 additions and 56 deletions

View File

@@ -0,0 +1,15 @@
{ pkgs, ... }: {
# Live Server: Auto-reload browser for web development
# Uses browser-sync for live reload functionality
programs.nixvim = {
keymaps = [{
mode = "n";
key = "<leader>ls";
action =
"<cmd>terminal browser-sync start --server --files '*.html, *.css, *.js' --no-notify<cr>";
options.desc = "Start live server (browser-sync)";
}];
extraPackages = with pkgs; [ nodePackages.browser-sync ];
};
}