neovim -> nixvim
This commit is contained in:
56
home/programs/nixvim/plugins/comment-box.nix
Normal file
56
home/programs/nixvim/plugins/comment-box.nix
Normal file
@@ -0,0 +1,56 @@
|
||||
{...}:
|
||||
|
||||
{
|
||||
programs.nixvim = {
|
||||
plugins = {
|
||||
comment-box = {
|
||||
enable = true;
|
||||
};
|
||||
which-key.settings.spec = [
|
||||
{
|
||||
__unkeyed-1 = "<leader>c";
|
||||
group = "Boxes";
|
||||
icon = "□ ";
|
||||
}
|
||||
];
|
||||
};
|
||||
keymaps = [
|
||||
{
|
||||
key = "<leader>cb";
|
||||
action = "<Cmd>CBccbox<CR>";
|
||||
options = {
|
||||
desc = "Box Title";
|
||||
};
|
||||
}
|
||||
{
|
||||
key = "<leader>ct";
|
||||
action = "<Cmd>CBllline<CR>";
|
||||
options = {
|
||||
desc = "Titled Line";
|
||||
};
|
||||
}
|
||||
{
|
||||
key = "<leader>cl";
|
||||
action = "<Cmd>CBline<CR>";
|
||||
options = {
|
||||
desc = "Simple Line";
|
||||
};
|
||||
}
|
||||
{
|
||||
key = "<leader>cm";
|
||||
action = "<Cmd>CBllbox14<CR>";
|
||||
options = {
|
||||
desc = "Marked";
|
||||
};
|
||||
}
|
||||
{
|
||||
key = "<leader>cd";
|
||||
action = "<Cmd>CBd<CR>";
|
||||
options = {
|
||||
desc = "Remove a Box";
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user