16 lines
370 B
Lua
16 lines
370 B
Lua
vim.api.nvim_create_autocmd("VimEnter", {
|
|
callback = function()
|
|
if vim.fn.argv(0) == 'p' then
|
|
require("telescope-config").project_files()
|
|
end
|
|
end,
|
|
})
|
|
|
|
vim.api.nvim_create_autocmd("VimEnter", {
|
|
callback = function()
|
|
if vim.fn.argv(0) == 'f' then
|
|
require("telescope.builtin").live_grep()
|
|
end
|
|
end,
|
|
})
|