adding gitgutter plugin for vim

master
TiynGER 5 years ago
parent ae2a4d9306
commit 41660385ac

@ -1,5 +1,4 @@
let mapleader ="," let mapleader =","
if ! filereadable(expand('~/.config/nvim/autoload/plug.vim')) if ! filereadable(expand('~/.config/nvim/autoload/plug.vim'))
echo "Downloading junegunn/vim-plug to manage plugins..." echo "Downloading junegunn/vim-plug to manage plugins..."
silent !mkdir -p ~/.config/nvim/autoload/ silent !mkdir -p ~/.config/nvim/autoload/
@ -111,9 +110,11 @@ Plug 'lervag/vimtex', {'for': 'tex'}
Plug 'artur-shaik/vim-javacomplete2' Plug 'artur-shaik/vim-javacomplete2'
Plug 'preservim/nerdtree' Plug 'preservim/nerdtree'
Plug 'majutsushi/tagbar' Plug 'majutsushi/tagbar'
Plug 'airblade/vim-gitgutter'
call plug#end() call plug#end()
"tagbar "tagbar
map <F3> :TagbarToggle<CR> map <F3> :TagbarToggle<CR>
let g:tagbar_left = 1
"nerdtree "nerdtree
map <F2> :NERDTreeToggle<CR> map <F2> :NERDTreeToggle<CR>
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif

Loading…
Cancel
Save