diff --git a/config/nvim/init.vim b/config/nvim/init.vim index 5ffdfbd..5c33fb9 100644 --- a/config/nvim/init.vim +++ b/config/nvim/init.vim @@ -13,8 +13,10 @@ call plug#begin('~/.vim/plugged') Plug 'airblade/vim-gitgutter' Plug 'majutsushi/tagbar' Plug 'vim-airline/vim-airline' - Plug 'ctrlpvim/ctrlp.vim' + " Plug 'ctrlpvim/ctrlp.vim' " Replaced with telescope Plug 'enricobacis/vim-airline-clock' + Plug 'nvim-lua/plenary.nvim' + Plug 'nvim-telescope/telescope.nvim' call plug#end() map :NERDTreeToggle @@ -44,3 +46,9 @@ nmap bq :bp bd # "Clock let g:airline#extensions#clock#format = '%I:%M:%S %X' + +" Find files using Telescope command-line sugar. +nnoremap ff Telescope find_files +nnoremap fg Telescope live_grep +nnoremap fb Telescope buffers +nnoremap fh Telescope help_tags