qol(nixvim@modules): added ripgrep
This commit is contained in:
@@ -17,7 +17,10 @@ in
|
|||||||
./plugins
|
./plugins
|
||||||
];
|
];
|
||||||
config.home.packages = with pkgs; [
|
config.home.packages = with pkgs; [
|
||||||
|
# formatters
|
||||||
nixfmt
|
nixfmt
|
||||||
|
# misc
|
||||||
|
ripgrep
|
||||||
];
|
];
|
||||||
config.programs.nixvim = lib.mkIf cfg.enable {
|
config.programs.nixvim = lib.mkIf cfg.enable {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -134,6 +137,13 @@ in
|
|||||||
silent = true;
|
silent = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
action = "<cmd>Telescope live_grep<cr>";
|
||||||
|
key = "<leader>fg";
|
||||||
|
options = {
|
||||||
|
silent = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user