telescope

This commit is contained in:
Tyrel Souza 2021-10-29 21:25:22 +00:00
parent fd6293e75e
commit 093257f234

View File

@ -13,8 +13,10 @@ call plug#begin('~/.vim/plugged')
Plug 'airblade/vim-gitgutter' Plug 'airblade/vim-gitgutter'
Plug 'majutsushi/tagbar' Plug 'majutsushi/tagbar'
Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline'
Plug 'ctrlpvim/ctrlp.vim' " Plug 'ctrlpvim/ctrlp.vim' " Replaced with telescope
Plug 'enricobacis/vim-airline-clock' Plug 'enricobacis/vim-airline-clock'
Plug 'nvim-lua/plenary.nvim'
Plug 'nvim-telescope/telescope.nvim'
call plug#end() call plug#end()
map <C-o> :NERDTreeToggle<CR> map <C-o> :NERDTreeToggle<CR>
@ -44,3 +46,9 @@ nmap <leader>bq :bp <BAR> bd #<CR>
"Clock "Clock
let g:airline#extensions#clock#format = '%I:%M:%S %X' let g:airline#extensions#clock#format = '%I:%M:%S %X'
" Find files using Telescope command-line sugar.
nnoremap <leader>ff <cmd>Telescope find_files<cr>
nnoremap <leader>fg <cmd>Telescope live_grep<cr>
nnoremap <leader>fb <cmd>Telescope buffers<cr>
nnoremap <leader>fh <cmd>Telescope help_tags<cr>