2018-04-05 13:06:54 +02:00
|
|
|
" Airline
|
|
|
|
if !exists('g:airline_symbols')
|
|
|
|
let g:airline_symbols = {}
|
|
|
|
endif
|
|
|
|
let g:airline_left_sep = ''
|
|
|
|
let g:airline_left_alt_sep = ''
|
|
|
|
let g:airline_right_sep = ''
|
|
|
|
let g:airline_right_alt_sep = ''
|
|
|
|
let g:airline_symbols.branch = ''
|
|
|
|
let g:airline_symbols.readonly = ''
|
|
|
|
let g:airline_symbols.linenr = ''
|
|
|
|
let g:airline#extensions#tabline#left_sep=''
|
|
|
|
let g:airline#extensions#tabline#left_alt_sep=''
|
|
|
|
let g:airline_symbols.maxlinenr = ''
|
|
|
|
let g:airline#extensions#tabline#enabled = 1
|
|
|
|
let g:airline#extensions#wordcount#enabled = 1
|
|
|
|
let g:airline_theme="minimalist"
|
|
|
|
|
2018-07-15 14:17:09 +02:00
|
|
|
|
|
|
|
" GitGutter
|
|
|
|
autocmd TextChanged * GitGutter
|
|
|
|
|
|
|
|
|
2018-04-05 13:06:54 +02:00
|
|
|
|
|
|
|
|
|
|
|
" JavaComplete
|
|
|
|
if has("autocmd")
|
|
|
|
autocmd Filetype java setlocal omnifunc=javacomplete#CompleteParamsInfo
|
|
|
|
endif
|
|
|
|
|
2018-07-15 14:17:09 +02:00
|
|
|
|
2018-04-05 13:06:54 +02:00
|
|
|
" Deoplete
|
|
|
|
let g:deoplete#enable_at_startup = 1
|
|
|
|
|
|
|
|
|
|
|
|
" NerdCommenter
|
|
|
|
let g:NERDSpaceDelims = 1
|
|
|
|
let g:NERDCompactSexyComs = 1
|
|
|
|
let g:NERDDefaultAlign = "left"
|
|
|
|
let g:NERDCommentEmptyLines = 1
|
|
|
|
let g:NERDTrimTrailingWhitespace = 1
|
|
|
|
|
2018-07-15 14:17:09 +02:00
|
|
|
|
2018-09-01 11:00:23 +02:00
|
|
|
" NerdTree
|
|
|
|
let NERDTreeMinimalUI = 1
|
|
|
|
let g:NERDTreeDirArrowExpandable = '🗀'
|
|
|
|
let g:NERDTreeDirArrowCollapsible = '🗁'
|
|
|
|
let g:NERDTreeHighlightFolders = 1
|
|
|
|
let g:NERDTreeHighlightFoldersFullName = 1
|
|
|
|
|
|
|
|
" autoclose if nerdtree is last open window
|
|
|
|
augroup NERDTree
|
|
|
|
autocmd!
|
|
|
|
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif
|
|
|
|
augroup end
|
|
|
|
|
2018-08-06 23:59:12 +02:00
|
|
|
" PyMode
|
|
|
|
let g:pymode_lint = 0
|
|
|
|
let g:pymode_syntax = 1
|
|
|
|
let g:pymode_syntax_all = 1
|
2018-04-05 13:06:54 +02:00
|
|
|
|
2018-07-15 14:17:09 +02:00
|
|
|
|
2018-04-05 13:06:54 +02:00
|
|
|
" Simpylfold
|
|
|
|
let g:SimpylFold_docstring_preview = 1
|
|
|
|
|
2018-07-15 14:17:09 +02:00
|
|
|
|
2018-04-05 13:06:54 +02:00
|
|
|
" Supertab
|
|
|
|
let g:SuperTabDefaultCompletionType = "<c-space>"
|
|
|
|
|
2018-07-15 14:17:09 +02:00
|
|
|
|
2018-04-12 00:42:03 +02:00
|
|
|
" Ale
|
2018-08-06 23:59:12 +02:00
|
|
|
let g:ale_linters = {"python": ["flake8"], "python3": ["flake8"]}
|
2018-04-05 13:06:54 +02:00
|
|
|
|
2018-07-15 14:17:09 +02:00
|
|
|
|
2018-04-05 13:06:54 +02:00
|
|
|
" UltiSnips
|
|
|
|
let g:UltiSnipsJumpForwardTrigger="<c-b>"
|
|
|
|
let g:UltiSnipsJumpBackwardTrigger="<c-z>"
|
|
|
|
|
2018-07-15 14:17:09 +02:00
|
|
|
|
2018-04-05 13:06:54 +02:00
|
|
|
" Whitespace
|
2018-05-04 20:32:48 +02:00
|
|
|
autocmd BufEnter *[^(.rmd|.snippets)] EnableStripWhitespaceOnSave
|
|
|
|
autocmd BufEnter *.snippets DisableStripWhitespaceOnSave
|
2018-04-05 13:06:54 +02:00
|
|
|
|
2018-07-15 14:17:09 +02:00
|
|
|
|
2018-04-05 13:06:54 +02:00
|
|
|
" Yankstack
|
|
|
|
let g:yankstack_map_keys = 0
|
|
|
|
call yankstack#setup()
|