From 53499b70d65f609645b0823acb83bfcb3f700447 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Wed, 8 Dec 2021 14:27:51 +0100 Subject: Adjusts nvim config --- .config/nvim/init.vim | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index f246e68..3176eea 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -8,10 +8,13 @@ Plug 'gruvbox-community/gruvbox' Plug 'preservim/nerdtree' Plug 'ryanoasis/vim-devicons' +Plug 'Xuyuanp/nerdtree-git-plugin' Plug 'nvim-lua/plenary.nvim' Plug 'nvim-telescope/telescope.nvim' +Plug 'airblade/vim-gitgutter' + call plug#end() @@ -22,31 +25,40 @@ call plug#end() nnoremap let mapleader=" " -set shiftwidth=4 +set shiftwidth=2 set nu rnu set mouse=a colorscheme gruvbox hi Normal guibg=NONE ctermbg=NONE -let g:NERDTreeShowHidden=1 +" Nerdtree -" " -" Keys -" " +let g:NERDTreeShowHidden=1 map NERDTreeToggle + +" Telescope + nnoremap ff Telescope find_files nnoremap fg Telescope live_grep nnoremap Telescope buffers + +" " +" Keys +" " + nnoremap nnoremap nnoremap nnoremap +nnoremap tabprevious +nnoremap tabnext + map nnoremap :w -- cgit v1.2.3