Update .chezmoidata/packages.yaml

Update .config/nvim/init.lua
Update .config/nvim/lazy-lock.json
Update .config/nvim/lua/plugins/telescope.lua
This commit is contained in:
Anthony Rodriguez 2024-08-14 20:22:25 +02:00
parent 0c75bc624c
commit 248ba1931b
4 changed files with 16 additions and 4 deletions

View file

@ -6,6 +6,7 @@ packages:
- fzf
- keychain
- lazygit
- neovide
- neovim
- starship
- zed

View file

@ -1,3 +1,7 @@
require("core.autocmds")
require("core.options")
require("config.lazy")
if vim.g.neovide then
require("core.neovide")
end

View file

@ -20,6 +20,8 @@
"nvim-treesitter": { "branch": "master", "commit": "3de418e73d5b912096229aaeea8bb7aef5094e0d" },
"nvim-web-devicons": { "branch": "master", "commit": "3722e3d1fb5fe1896a104eb489e8f8651260b520" },
"plenary.nvim": { "branch": "master", "commit": "a3e3bc82a3f95c5ed0d7201546d5d2c19b20d683" },
"project.nvim": { "branch": "main", "commit": "8c6bad7d22eef1b71144b401c9f74ed01526a4fb" },
"telescope-project.nvim": { "branch": "master", "commit": "1aaf16580a614601a7f7077d9639aeb457dc5559" },
"telescope.nvim": { "branch": "master", "commit": "54930e1abfc94409e1bb9266e752ef8379008592" },
"vim-snippets": { "branch": "master", "commit": "f0a3184d9f90b96b044d5914625a25c554d7f301" },
"vim-tmux-navigator": { "branch": "master", "commit": "5b3c701686fb4e6629c100ed32e827edf8dad01e" },

View file

@ -4,12 +4,17 @@ return {
lazy = true,
dependencies = {
'nvim-lua/plenary.nvim',
"nvim-telescope/telescope-project.nvim"
},
opts = {}, -- define config options here, or use a config() function
config = function()
require('telescope').load_extension('projects')
end,
keys = {
{ '<leader>ff', function() require 'telescope.builtin'.find_files() end, mode = 'n' },
{ '<leader>fg', function() require('telescope.builtin').live_grep() end, mode = 'n' },
{ '<leader>fb', function() require('telescope.builtin').buffers() end, mode = 'n' },
{ '<leader>fh', function() require('telescope.builtin').help_tags() end, mode = 'n' }
{ '<leader>ff', function() require 'telescope.builtin'.find_files() end, mode = 'n' },
{ '<leader>fg', function() require('telescope.builtin').live_grep() end, mode = 'n' },
{ '<leader>fb', function() require('telescope.builtin').buffers() end, mode = 'n' },
{ '<leader>fh', function() require('telescope.builtin').help_tags() end, mode = 'n' },
{ '<leader>fp', function() require('telescope').extensions.projects.projects {} end, mode = 'n' }
},
}