feat: open telescope on startup
This commit is contained in:
parent
17e0fa9deb
commit
a12b7cb05d
1 changed files with 12 additions and 0 deletions
|
@ -2,6 +2,18 @@ _:
|
|||
|
||||
{
|
||||
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 = {
|
||||
telescope = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in a new issue