feat: open telescope on startup

This commit is contained in:
Moritz Böhme 2024-12-14 23:57:05 +01:00
parent 17e0fa9deb
commit a12b7cb05d
Signed by: moritz
GPG key ID: 970C6E89EB0547A9

View file

@ -2,6 +2,18 @@ _:
{ {
home-manager.users.moritz.programs.nixvim = { home-manager.users.moritz.programs.nixvim = {
autoCmd = [
{
event = [ "VimEnter" ];
callback.__raw = ''
function()
if vim.fn.argc() == 0 then
require("telescope.builtin").find_files()
end
end
'';
}
];
plugins = { plugins = {
telescope = { telescope = {
enable = true; enable = true;