feat: add shortcuts for global grep search

This commit is contained in:
Stefan Imhoff
2023-08-20 08:22:00 +02:00
parent 3d57a5a26d
commit c16cb3181a
3 changed files with 10 additions and 1 deletions

View File

@@ -4,7 +4,11 @@ if not vim.loop.fs_stat(lazypath) then
-- stylua: ignore
vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", "--branch=stable", lazypath })
end
vim.opt.rtp:prepend(vim.env.LAZY or lazypath)
vim.cmd([[command! -nargs=0 GoToFile :Telescope find_files]])
vim.cmd([[command! -nargs=0 GoToCommand :Telescope commands]])
vim.cmd([[command! -nargs=0 Grep :Telescope live_grep]])
require("lazy").setup({
spec = {