floaterm init: Quick nixy inside nvim

Former-commit-id: 5d3399ebc3
This commit is contained in:
Hadi
2025-03-24 15:13:58 +01:00
parent 28d59ed58e
commit 30cd88a6b0
2 changed files with 17 additions and 3 deletions

View File

@@ -22,6 +22,11 @@
mode = "n"; mode = "n";
group = "+windows"; group = "+windows";
} }
{
__unkeyed-1 = "<leader>c";
mode = "n";
group = "+code";
}
]; ];
win = { win = {
border = "rounded"; border = "rounded";

View File

@@ -1,4 +1,13 @@
{ { config, ... }: {
programs.nixvim = {
programs.nixvim.plugins.floaterm.enable = true; plugins.floaterm.enable = true;
highlightOverride = {
FloatermBorder.fg = "#${config.lib.stylix.colors.base01}";
};
keymaps = [{
key = "<leader>cn";
action = "<cmd>FloatermNew --title=nixy nixy<cr>";
options.desc = "Nixy";
}];
};
} }