moved nixvim to home-manager config, re-added firefox plugins

This commit is contained in:
pagedmov
2024-11-07 00:48:51 -05:00
parent f9fe7155de
commit 0bb0b6ce81
21 changed files with 18 additions and 17 deletions

View File

@@ -0,0 +1,46 @@
{
programs.nixvim = {
keymaps = [
{
action = "<cmd>lua vim.lsp.buf.format()<CR>";
key = "!fmt";
mode = "n";
}
{
action = "<cmd>lua vim.diagnostic.open_float()<CR>";
key = "!df";
mode = "n";
}
{
action = "<C-W>W";
key = "<S-Tab>";
mode = "n";
}
{
action = "<C-w>w";
key = "<Tab>";
mode = "n";
}
{
action = "<cmd>FloatermToggle shadeterm<CR>";
key = "<F2>";
mode = "n";
}
{
action = "<cmd>NvimTreeToggle<CR>";
key = "<F3>";
mode = "n";
}
{
action = "<cmd>FloatermToggle shadeterm<CR>";
key = "<F2>";
mode = "t";
}
{
action = "<cmd>COQnow<CR>";
key = "!cq";
mode = "n";
}
];
};
}