nvim: init.vim: Add more gitgutter settings
This commit is contained in:
parent
51470fbcf6
commit
4549f10038
1 changed files with 10 additions and 1 deletions
|
@ -15,7 +15,6 @@ Plug 'Yggdroot/LeaderF', { 'do': './install.sh' }
|
|||
Plug 'thirtythreeforty/lessspace.vim'
|
||||
" Status bar mods
|
||||
Plug 'vim-airline/vim-airline'
|
||||
Plug 'airblade/vim-gitgutter'
|
||||
" Manage Project sessions
|
||||
Plug 'thaerkh/vim-workspace'
|
||||
" Commenter
|
||||
|
@ -28,6 +27,7 @@ Plug 'wellle/tmux-complete.vim'
|
|||
" For LaTeX support
|
||||
Plug 'lervag/vimtex'
|
||||
" For git support
|
||||
Plug 'airblade/vim-gitgutter'
|
||||
Plug 'tpope/vim-fugitive'
|
||||
Plug 'junegunn/gv.vim'
|
||||
Plug 'rhysd/git-messenger.vim'
|
||||
|
@ -461,6 +461,15 @@ let g:airline#extensions#tabline#buffer_nr_show = 1
|
|||
|
||||
" Let vim-gitgutter do its thing on large files
|
||||
let g:gitgutter_max_signs=1000
|
||||
let g:gitgutter_map_keys = 0
|
||||
let g:gitgutter_highlight_linenrs = 1
|
||||
let g:gitgutter_preview_win_floating = 1
|
||||
let g:gitgutter_use_location_list = 1
|
||||
let g:gitgutter_sign_added = '+a'
|
||||
let g:gitgutter_sign_modified = '+m'
|
||||
let g:gitgutter_sign_removed = '-r'
|
||||
let g:gitgutter_sign_removed_first_line = '^^'
|
||||
let g:gitgutter_sign_modified_removed = 'mr'
|
||||
|
||||
" Neomake
|
||||
" compile when I open a file, change text, leave insert mode, etc ...
|
||||
|
|
Loading…
Reference in a new issue