mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-02 11:12:09 +02:00
floaterm init: Quick nixy inside nvim
This commit is contained in:
@@ -22,6 +22,11 @@
|
||||
mode = "n";
|
||||
group = "+windows";
|
||||
}
|
||||
{
|
||||
__unkeyed-1 = "<leader>c";
|
||||
mode = "n";
|
||||
group = "+code";
|
||||
}
|
||||
];
|
||||
win = {
|
||||
border = "rounded";
|
||||
|
||||
@@ -1,4 +1,13 @@
|
||||
{
|
||||
|
||||
programs.nixvim.plugins.floaterm.enable = true;
|
||||
{ config, ... }: {
|
||||
programs.nixvim = {
|
||||
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";
|
||||
}];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user