mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-03-28 05:57:45 +01:00
adding gitgutter plugin for vim
This commit is contained in:
parent
ae2a4d9306
commit
41660385ac
@ -1,5 +1,4 @@
|
||||
let mapleader =","
|
||||
|
||||
if ! filereadable(expand('~/.config/nvim/autoload/plug.vim'))
|
||||
echo "Downloading junegunn/vim-plug to manage plugins..."
|
||||
silent !mkdir -p ~/.config/nvim/autoload/
|
||||
@ -111,9 +110,11 @@ Plug 'lervag/vimtex', {'for': 'tex'}
|
||||
Plug 'artur-shaik/vim-javacomplete2'
|
||||
Plug 'preservim/nerdtree'
|
||||
Plug 'majutsushi/tagbar'
|
||||
Plug 'airblade/vim-gitgutter'
|
||||
call plug#end()
|
||||
"tagbar
|
||||
map <F3> :TagbarToggle<CR>
|
||||
let g:tagbar_left = 1
|
||||
"nerdtree
|
||||
map <F2> :NERDTreeToggle<CR>
|
||||
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user