From b377ae9995a08534172032e4698372fe4295a6ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Thu, 21 Apr 2022 12:19:10 +0200 Subject: [PATCH] Added Telescope --- .config/nvim/init.vim | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 4b71c94..e24fd03 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -144,6 +144,9 @@ call plug#begin('~/.config/nvim/plugged') Plug 'L3MON4D3/LuaSnip' Plug 'sbdchd/neoformat' + " Telescope + Plug 'nvim-lua/plenary.nvim' + Plug 'nvim-telescope/telescope.nvim' call plug#end() " LUA @@ -327,10 +330,10 @@ nmap CommentaryLine vnoremap > vnoremap < -" FZF -nmap e :Buffers -nmap q :Rg -nmap w :Files +" Telescope +nmap e Telescope buffers +nmap w Telescope find_files +nmap q Telescope live_grep " Resize window nnoremap :vertical resize +5