fixed nvim

This commit is contained in:
Tyrel Souza 2023-05-26 22:50:26 -04:00
parent da1d0b2aa9
commit eb32c2194a
No known key found for this signature in database
GPG Key ID: F3614B02ACBE438E
2 changed files with 6 additions and 2 deletions

View File

@ -83,15 +83,18 @@ return function(use)
use({ use({
'nvim-telescope/telescope.nvim', 'nvim-telescope/telescope.nvim',
commit="c1a2af0",
config = function () require('telescope').setup{ file_ignore_patterns = {"node_modules","./venv/"} } end config = function () require('telescope').setup{ file_ignore_patterns = {"node_modules","./venv/"} } end
}) })
use({'nvim-telescope/telescope-project.nvim'})
-- require'telescope'.load_extension('project')
use({'puremourning/vimspector'}) use({'puremourning/vimspector'})
use({'nvim-treesitter/nvim-treesitter-refactor'}) use({'nvim-treesitter/nvim-treesitter-refactor'})
use({'RRethy/nvim-treesitter-textsubjects'}) use({'RRethy/nvim-treesitter-textsubjects'})
use({'airblade/vim-rooter'}) -- use({'airblade/vim-rooter'})
end end

View File

@ -110,6 +110,7 @@ vim.api.nvim_set_keymap("n", "<Leader>bq",":bp <BAR> bd #<CR>", {silent=true})
vim.api.nvim_set_keymap("n", "<Leader>ff", ":Telescope find_files<cr>", {silent=true}) vim.api.nvim_set_keymap("n", "<Leader>ff", ":Telescope find_files<cr>", {silent=true})
vim.api.nvim_set_keymap("n", "<Leader>fg", ":Telescope live_grep<cr>", {silent=true}) vim.api.nvim_set_keymap("n", "<Leader>fg", ":Telescope live_grep<cr>", {silent=true})
vim.api.nvim_set_keymap("n", "<Leader>fb", ":Telescope buffers<cr>", {silent=true}) vim.api.nvim_set_keymap("n", "<Leader>fb", ":Telescope buffers<cr>", {silent=true})
vim.api.nvim_set_keymap("n", "<Leader>fp", ":Telescope projects<cr>", {silent=true})
vim.api.nvim_set_keymap("n", "<Leader>fa", ":Ag<cr>", {silent=true}) vim.api.nvim_set_keymap("n", "<Leader>fa", ":Ag<cr>", {silent=true})
vim.api.nvim_set_keymap("n", "<leader>gb",":.GBrowse<CR>", {silent=true}) vim.api.nvim_set_keymap("n", "<leader>gb",":.GBrowse<CR>", {silent=true})