nvim: move to services we do not specify a pkgset
This commit is contained in:
parent
465a6b19d1
commit
11b98d8146
45 changed files with 38 additions and 37 deletions
|
@ -1,58 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
lib.mkIf (lib.elem "nvim::telescope" config.machine.pkgs) {
|
||||
programs.nvim-lazy.lazyPlugins = [
|
||||
{
|
||||
lazy = true;
|
||||
dir = vPlug: vPlug.telescope-nvim;
|
||||
dependencies = (
|
||||
vPlug: with vPlug; [
|
||||
plenary-nvim
|
||||
"ghassan0/telescope-glyph.nvim"
|
||||
"xiyaowong/telescope-emoji.nvim"
|
||||
]
|
||||
);
|
||||
keys = [
|
||||
{
|
||||
bind = "<leader>ff";
|
||||
cmd = "<Cmd>Telescope find_files<CR>";
|
||||
opts = {
|
||||
desc = "Telescope Find Files";
|
||||
};
|
||||
}
|
||||
{
|
||||
bind = "<leader>fg";
|
||||
cmd = "<Cmd>Telescope git_files<CR>";
|
||||
opts = {
|
||||
desc = "Telescope Git Files";
|
||||
};
|
||||
}
|
||||
{
|
||||
bind = "<leader>fw";
|
||||
cmd = "<Cmd>Telescope grep_string<CR>";
|
||||
opts = {
|
||||
desc = "Telescope Grep Cursor Word";
|
||||
};
|
||||
}
|
||||
{
|
||||
bind = "<leader>fr";
|
||||
cmd = "<Cmd>Telescope live_grep<CR>";
|
||||
opts = {
|
||||
desc = "Telescope Grep Files";
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
dir = vPlug: vPlug.plenary-nvim;
|
||||
lazy = true;
|
||||
}
|
||||
];
|
||||
|
||||
environment.systemPackages = [ pkgs.fd ];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue