diff --git a/nvim/mappings.vim b/nvim/mappings.vim index 1fdd9e8..7b45f55 100644 --- a/nvim/mappings.vim +++ b/nvim/mappings.vim @@ -21,10 +21,15 @@ nnoremap h :set rnu! " nerdtree map e :NERDTreeToggle -" fzf -nmap :Buffers -nmap f :GFiles -nmap l :Lines +" Telescope +nnoremap Telescope buffers +nnoremap f Telescope find_files +nnoremap l Telescope live_grep +nnoremap gD Telescope lsp_implementations +nnoremap gH Telescope lsp_code_actions +nnoremap gd Telescope lsp_definitions +nnoremap gr Telescope lsp_references +nnoremap gy Telescope treesitter " vim fugitive nnoremap gg :G diff --git a/nvim/pluginoptions.vim b/nvim/pluginoptions.vim index 121a64b..4d35268 100644 --- a/nvim/pluginoptions.vim +++ b/nvim/pluginoptions.vim @@ -43,10 +43,6 @@ augroup VimDiff autocmd VimEnter,FilterWritePre * if &diff | GitGutterDisable | endif augroup END -" FZF SETUP -" ========================= -let g:fzf_buffers_jump = 1 - " VIMWIKI SETUP " ========================= let g:vimwiki_list = [{'path': '~/.notes/', @@ -143,13 +139,13 @@ let g:user_emmet_leader_key='' let g:languagetool_cmd='/usr/bin/languagetool' " TREESITTER -" lua < fzf#install() } } -Plug 'junegunn/fzf.vim' +Plug 'nvim-lua/plenary.nvim' +Plug 'nvim-telescope/telescope.nvim' " vimwiki Plug 'vimwiki/vimwiki' @@ -69,12 +69,7 @@ Plug 'nvim-lua/completion-nvim' Plug 'sbdchd/neoformat' " treesitter -" Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} -" Plug 'nvim-treesitter/playground' - -" disable latex before loading -let g:polyglot_disabled = ["latex"] -Plug 'sheerun/vim-polyglot' +Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} " latex Plug 'lervag/vimtex'