endif
"
" auskommentiert, macht in screen das nix gut aussieht..
-"set termguicolors
+"set termguicolors
set background=dark
try
let g:gruvbox_contrast_dark = 'hard'
inoremap <C-S-v> <esc>"*p
vnoremap <C-S-v> "*p
-
"nnoremap <Leader>= mzgg=G`z<CR>
nnoremap <F2> :call FormatDocument()<CR>
" write using sudo.
" repeat last command on all selected:
vnoremap . :normal.<CR>
-
vnoremap <leader>tt :Tabular /^[^-+=]*\zs\S*=/l1l1<cr>
vnoremap <leader>t, :Tabular /,\zs/l1l1<cr>
vnoremap <leader>t<space> :Tabular /\s\+\zs/l1l0<cr>
nnoremap <Leader>r :source ~/.vim/vimrc<CR>
endif
-
filetype plugin indent on
" ack seems to have vanished from artfull, thus use silversearchger-ag
" wird.
set t_ut=
-
if has ('win32') || has('win32unix')
let g:vimwiki_list = [
\{
- \ 'path':'~/vimwiki',
+ \ 'path':'~/vimwiki',
\ 'path_html':'~/vimwiki/html/',
\ 'syntax': 'markdown',
\ 'ext': '.md'
silent! s/{\(.\{-}\)}/" + \1 + "/g
endfunction
-
"""" ALE start """"
inoremap <F4> <Esc>:ALEToggle<CR>
nnoremap <F4> <Esc>:ALEToggle<CR>
let g:ale_linters = {
\ 'cpp': ['gcc', 'cppcheck', 'clang'],
\ 'perl': ['perl', 'perlcritic'],
- \}
+ \}
let b:ale_warn_about_trailing_whitespace = 1
let g:ale_sign_column_always = 1
let g:ale_cpp_clang_options =
\ -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g+
\'
-let g:ale_cpp_gcc_options =
+let g:ale_cpp_gcc_options =
\ '-std=c++14 -Wall -pedantic -fPIC
\ -I/usr/include/x86_64-linux-gnu/qt5
\ -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport
let g:acp_behaviorCssOmniPropertyLength = 1
let g:acp_behaviorCssOmniValueLength = 0
-
highlight ExtraWhitespace ctermfg=red guifg=red ctermbg=white guibg=DarkGrey
" keine trailing whitespaces in hub log files anzeigen