From 56c1c35108a365f81d9db0a3d36595c656818964 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Sat, 7 Oct 2017 23:51:43 +0200 Subject: Some vim changes. --- .vimrc | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to '.vimrc') diff --git a/.vimrc b/.vimrc index 1506b91..55ba590 100644 --- a/.vimrc +++ b/.vimrc @@ -45,8 +45,11 @@ fun StatusLine() if strlen(head) let head = ",".head endif + let tag = tagbar#currenttag('#%s', '') - return '%-3.3n %f %r%w[' + return '%-3.3n %f' + \ .tag. + \ ' %r%w[' \ .ft.','.fenc \ .',%{&fileformat}' \ .head @@ -70,7 +73,6 @@ cnoremap " ======================================================= " CUSTOM MAPPINGS " ======================================================= - " Some maps opening/closing nice windows nmap T :TagbarToggle nmap U :GundoToggle @@ -97,6 +99,9 @@ let g:toggle_words_dict = { \ ['enabled', 'disabled'] \ ]} +" we use python3 +let g:gundo_prefer_python3 = 1 + " Stuff for the TagList-Plugin let Tlist_Sort_Type = "name" let Tlist_File_Fold_Auto_Close = 1 @@ -112,13 +117,15 @@ let g:autotagCtagsCmd="ctags --c++-kinds=+p --fields=+iaS --extra=+q" let g:bugsummary_browser="firefox '%s'" " python syntax -let python_highlight_numbers = 1 -let python_highlight_space_errors = 1 +let g:python_highlight_string_templates = 0 +let g:python_highlight_builtin_funcs_kwarg=0 +let g:python_highlight_all = 1 +let g:python_highlight_space_errors = 1 " default to latex for .tex files let g:tex_flavor = "latex" let g:Tex_DefaultTargetFormat="pdf" -let g:Tex_ViewRule_pdf = "evince" +let g:Tex_ViewRule_pdf = "zathura" " do not do concealment in .tex files -- just too slow (and ugly) let g:tex_conceal = "" @@ -140,8 +147,6 @@ let g:UltiSnipsEditSplit = "vertical" let g:ycm_semantic_triggers = {'haskell' : ['re!\w\.']} let g:ycm_autoclose_preview_window_after_completion = 1 let g:ycm_autoclose_preview_window_after_insertion = 1 -let g:ycm_key_list_select_completion = [''] -let g:ycm_key_list_previous_completion = [''] " ======================================================= " FINAL -- cgit v1.2.3