VIM: Gitgutter config

This commit is contained in:
Tobias Manske 2018-07-15 14:17:09 +02:00
parent 743d2a3df8
commit 82b9462fbf
No known key found for this signature in database
GPG Key ID: 978D99F12D4E041F

View File

@ -16,6 +16,11 @@ let g:airline#extensions#tabline#enabled = 1
let g:airline#extensions#wordcount#enabled = 1 let g:airline#extensions#wordcount#enabled = 1
let g:airline_theme="minimalist" let g:airline_theme="minimalist"
" GitGutter
autocmd TextChanged * GitGutter
" GoldenView " GoldenView
let g:goldenview__enable_default_mapping = 0 let g:goldenview__enable_default_mapping = 0
let g:goldenview__ignore_urule = { let g:goldenview__ignore_urule = {
@ -52,13 +57,10 @@ if has("autocmd")
autocmd Filetype java setlocal omnifunc=javacomplete#CompleteParamsInfo autocmd Filetype java setlocal omnifunc=javacomplete#CompleteParamsInfo
endif endif
" Deoplete " Deoplete
let g:deoplete#enable_at_startup = 1 let g:deoplete#enable_at_startup = 1
" NeoComplete
" let g:acp_enableAtStartup = 0
" let g:neocomplete#enable_at_startup = 1
" let g:neocomplete#enable_smart_case = 1
" NerdCommenter " NerdCommenter
let g:NERDSpaceDelims = 1 let g:NERDSpaceDelims = 1
@ -67,26 +69,33 @@ let g:NERDDefaultAlign = "left"
let g:NERDCommentEmptyLines = 1 let g:NERDCommentEmptyLines = 1
let g:NERDTrimTrailingWhitespace = 1 let g:NERDTrimTrailingWhitespace = 1
" PythonSyntax " PythonSyntax
let python_highlight_all = 1 let python_highlight_all = 1
" Simpylfold " Simpylfold
let g:SimpylFold_docstring_preview = 1 let g:SimpylFold_docstring_preview = 1
" Supertab " Supertab
let g:SuperTabDefaultCompletionType = "<c-space>" let g:SuperTabDefaultCompletionType = "<c-space>"
" Ale " Ale
let g:ale_linters = {"python": ["flake8"]} let g:ale_linters = {"python": ["flake8"]}
" UltiSnips " UltiSnips
let g:UltiSnipsJumpForwardTrigger="<c-b>" let g:UltiSnipsJumpForwardTrigger="<c-b>"
let g:UltiSnipsJumpBackwardTrigger="<c-z>" let g:UltiSnipsJumpBackwardTrigger="<c-z>"
" Whitespace " Whitespace
autocmd BufEnter *[^(.rmd|.snippets)] EnableStripWhitespaceOnSave autocmd BufEnter *[^(.rmd|.snippets)] EnableStripWhitespaceOnSave
autocmd BufEnter *.snippets DisableStripWhitespaceOnSave autocmd BufEnter *.snippets DisableStripWhitespaceOnSave
" Yankstack " Yankstack
let g:yankstack_map_keys = 0 let g:yankstack_map_keys = 0
call yankstack#setup() call yankstack#setup()