fixes here and there
This commit is contained in:
parent
eca00d215f
commit
bfb3b31d94
3 changed files with 12 additions and 8 deletions
|
@ -9,6 +9,7 @@ ENV NEOVIM_PKGS="\
|
|||
ripgrep \
|
||||
fd-find \
|
||||
npm \
|
||||
ShellCheck \
|
||||
tree-sitter-cli \
|
||||
wl-clipboard \
|
||||
clang"
|
||||
|
|
|
@ -95,15 +95,9 @@ require("lazy").setup({
|
|||
--Fuzzy search by Telescope and its dependencies:
|
||||
{
|
||||
'nvim-telescope/telescope.nvim', branch = 'master',
|
||||
config = require('plugins.nvim-telescope').config,
|
||||
dependencies = { 'nvim-lua/plenary.nvim' },
|
||||
keys = {
|
||||
{ "<leader>ff", "<cmd>Telescope find_files<cr>" },
|
||||
{ "<leader>fg", "<cmd>Telescope live_grep<cr>" },
|
||||
{ "<leader>fb", "<cmd>Telescope buffers<cr>" },
|
||||
{ "<leader>fh", "<cmd>Telescope help_tags<cr>" }
|
||||
|
||||
}
|
||||
|
||||
priority = 100
|
||||
},
|
||||
{ 'BurntSushi/ripgrep' },
|
||||
|
||||
|
|
9
lua/plugins/nvim-telescope.lua
Normal file
9
lua/plugins/nvim-telescope.lua
Normal file
|
@ -0,0 +1,9 @@
|
|||
return {
|
||||
config = function()
|
||||
local builtin = require('telescope.builtin')
|
||||
vim.keymap.set('n', '<leader>ff', builtin.find_files, {})
|
||||
vim.keymap.set('n', '<leader>fg', builtin.live_grep, {})
|
||||
vim.keymap.set('n', '<leader>fb', builtin.buffers, {})
|
||||
vim.keymap.set('n', '<leader>fh', builtin.help_tags, {})
|
||||
end
|
||||
}
|
Loading…
Reference in a new issue