diff --git a/nvim/init.vim b/nvim/init.vim index 9356cf6..2630653 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -76,6 +76,11 @@ call plug#begin('~/.config/nvim/autoload/plugged') Plug 'lambdalisue/fern.vim' + Plug 'nvim-lua/popup.nvim' + Plug 'nvim-lua/plenary.nvim' + Plug 'nvim-telescope/telescope.nvim' + Plug 'BurntSushi/ripgrep' + if executable('ctags') Plug 'ludovicchabant/vim-gutentags' endif @@ -103,8 +108,6 @@ let g:javascript_conceal_function = "ƒ" set completeopt+=menuone set completeopt+=noselect set shortmess+=c " Shut off completion messages -set belloff+=ctrlg " If Vim beeps during completion -let g:mucomplete#enable_auto_at_startup = 1 " indentLine let g:indentLine_char_list = ['|', '¦', '┆', '┊'] @@ -114,3 +117,11 @@ nnoremap ` :Fern . -reveal=% " oscyank autocmd TextYankPost * if v:event.operator is 'y' && v:event.regname is '+' | OSCYankReg + | endif + +" Find files using Telescope command-line sugar. +nnoremap ff Telescope git_files +nnoremap fr Telescope registers +nnoremap fb Telescope buffers +nnoremap fgb Telescope git_branches +nnoremap fgc Telescope git_commits +nnoremap fgt Telescope tags