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_theme="minimalist"
" GitGutter
autocmd TextChanged * GitGutter
" GoldenView
let g:goldenview__enable_default_mapping = 0
let g:goldenview__ignore_urule = {
@ -52,13 +57,10 @@ if has("autocmd")
autocmd Filetype java setlocal omnifunc=javacomplete#CompleteParamsInfo
endif
" Deoplete
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
let g:NERDSpaceDelims = 1
@ -67,26 +69,33 @@ let g:NERDDefaultAlign = "left"
let g:NERDCommentEmptyLines = 1
let g:NERDTrimTrailingWhitespace = 1
" PythonSyntax
let python_highlight_all = 1
" Simpylfold
let g:SimpylFold_docstring_preview = 1
" Supertab
let g:SuperTabDefaultCompletionType = "<c-space>"
" Ale
let g:ale_linters = {"python": ["flake8"]}
" UltiSnips
let g:UltiSnipsJumpForwardTrigger="<c-b>"
let g:UltiSnipsJumpBackwardTrigger="<c-z>"
" Whitespace
autocmd BufEnter *[^(.rmd|.snippets)] EnableStripWhitespaceOnSave
autocmd BufEnter *.snippets DisableStripWhitespaceOnSave
" Yankstack
let g:yankstack_map_keys = 0
call yankstack#setup()