From b349d7d1264004796ec6f895755d1334cef4fe6e Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sun, 14 Nov 2021 14:57:18 +0100 Subject: Adds Telescope and replaces pipewire with alsa --- .config/nvim/init.vim | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to '.config/nvim/init.vim') diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index d6745cc..f246e68 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -9,6 +9,9 @@ Plug 'gruvbox-community/gruvbox' Plug 'preservim/nerdtree' Plug 'ryanoasis/vim-devicons' +Plug 'nvim-lua/plenary.nvim' +Plug 'nvim-telescope/telescope.nvim' + call plug#end() @@ -16,6 +19,9 @@ call plug#end() " Config " " +nnoremap +let mapleader=" " + set shiftwidth=4 set nu rnu set mouse=a @@ -30,7 +36,11 @@ let g:NERDTreeShowHidden=1 " Keys " " -map :NERDTreeToggle +map NERDTreeToggle + +nnoremap ff Telescope find_files +nnoremap fg Telescope live_grep +nnoremap Telescope buffers nnoremap nnoremap -- cgit v1.2.3