neovim: Add telescope plugin

This commit is contained in:
fleaz 2024-08-31 17:17:26 +02:00
parent fd95cf8188
commit f7d7ab2aa6
2 changed files with 9 additions and 0 deletions

View file

@ -56,6 +56,7 @@ in
ncdu ncdu
fd fd
silver-searcher silver-searcher
ripgrep
thunderbird thunderbird
mosh mosh
mpv mpv

View file

@ -72,6 +72,10 @@
# zoom into windows # zoom into windows
zoomwintab-vim zoomwintab-vim
# Telescope
plenary-nvim
telescope-nvim
]; ];
extraConfig = '' extraConfig = ''
@ -163,6 +167,10 @@
\ } \ }
let g:neoformat_enabled_python = ['black', 'isort'] let g:neoformat_enabled_python = ['black', 'isort']
" Find files using Telescope
nnoremap <leader>ff <cmd>Telescope find_files<cr>
nnoremap <leader>fg <cmd>Telescope live_grep<cr>
lua << EOF lua << EOF
require'netrw'.setup{} require'netrw'.setup{}
require("auto-session").setup { require("auto-session").setup {