summaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc19
1 files changed, 12 insertions, 7 deletions
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 <Right> <Space><BS><Right>
" =======================================================
" CUSTOM MAPPINGS
" =======================================================
-
" Some maps opening/closing nice windows
nmap <silent> <Leader>T :TagbarToggle<CR>
nmap <silent> <Leader>U :GundoToggle<CR>
@@ -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 = ['<Down>']
-let g:ycm_key_list_previous_completion = ['<Up>']
" =======================================================
" FINAL