|
|
@ -16,8 +16,10 @@ if has("unix") || has("mac") |
|
|
|
"[Run Plug-ins]" |
|
|
|
set runtimepath+=$HOME/.vim/bundle/Vundle.vim |
|
|
|
call vundle#begin() |
|
|
|
|
|
|
|
Plugin 'gmarik/Vundle.vim' |
|
|
|
map <F3> :VundleUpdate<CR> |
|
|
|
|
|
|
|
Plugin 'dag/vim-fish' |
|
|
|
if isdirectory(expand("$HOME/.vim/bundle/YouCompleteMe")) |
|
|
|
"[Workaround for YCM non-portability]" |
|
|
@ -33,6 +35,7 @@ if has("unix") || has("mac") |
|
|
|
else |
|
|
|
Plugin 'AutoComplPop' |
|
|
|
endif |
|
|
|
|
|
|
|
Plugin 'w0rp/ale' |
|
|
|
let g:ale_linters = { |
|
|
|
\ 'cpp': ['g++'], |
|
|
@ -41,16 +44,27 @@ if has("unix") || has("mac") |
|
|
|
let g:ale_c_gcc_options='-std=c99 -pedantic' |
|
|
|
let g:ale_sign_error = '●' |
|
|
|
let g:ale_sign_warning = '●' |
|
|
|
|
|
|
|
Plugin 'itchyny/lightline.vim' |
|
|
|
let g:lightline = {'colorscheme': 'base16_default_dark'} |
|
|
|
|
|
|
|
if executable('ctags') |
|
|
|
Plugin 'ludovicchabant/vim-gutentags' |
|
|
|
endif |
|
|
|
|
|
|
|
Plugin 'beyondmarc/opengl.vim' |
|
|
|
Plugin 'arrufat/vala.vim' |
|
|
|
let g:vala_syntax_folding_enabled = 0 |
|
|
|
|
|
|
|
Plugin 'tikhomirov/vim-glsl' |
|
|
|
Plugin 'jamessan/vim-gnupg' |
|
|
|
Plugin 'machakann/vim-highlightedyank' |
|
|
|
let g:highlightedyank_highlight_duration = 200 |
|
|
|
"[Needed only with old vim versions]" |
|
|
|
if !exists('##TextYankPost') |
|
|
|
map y <Plug>(highlightedyank) |
|
|
|
endif |
|
|
|
|
|
|
|
"[Autodetect indent style of a file]" |
|
|
|
Plugin 'tcbbd/detectindent' |
|
|
|
let g:detectindent_preferred_indent=4 |
|
|
@ -141,6 +155,10 @@ set ignorecase |
|
|
|
set wrapscan |
|
|
|
"[When on, the ":substitute" flag 'g' is default on]" |
|
|
|
set nogdefault |
|
|
|
"[Enable realtime feedback for substitution]" |
|
|
|
if has("nvim") |
|
|
|
set inccommand=nosplit |
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
"[Kitty doesn't support background color erase]" |
|
|
|