summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kaufmann <astra@ionic.at>2020-02-17 14:31:30 +0100
committerDavid Kaufmann <astra@ionic.at>2020-02-17 14:31:30 +0100
commitc4bb3dd2f46237bba31ea29310c36080b6074da8 (patch)
treeff386160ec0f2b4602905300fd7e37ede95f33a5
parent069540690c76e2897161779e50f9380471862be7 (diff)
downloadconfig-c4bb3dd2f46237bba31ea29310c36080b6074da8.tar.gz
vim: add vimtex config, json prettifier
-rw-r--r--home/.vim/vimrc15
1 files changed, 15 insertions, 0 deletions
diff --git a/home/.vim/vimrc b/home/.vim/vimrc
index cb5da9d..08a9db0 100644
--- a/home/.vim/vimrc
+++ b/home/.vim/vimrc
@@ -200,6 +200,10 @@ if !exists(":DiffOrig")
command DiffOrig vert new | set bt=nofile | r # | 0d_ | diffthis | wincmd p | diffthis
endif
+if !exists(":Json")
+ command Json %!python -m json.tool
+endif
+
"let g:buftabs_only_basename=1
"let g:buftabs_in_statusline=1
@@ -349,6 +353,17 @@ map P :TlistToggle<CR>
let g:pydiction_location = '/home/astra/.vim/ftplugin/pydiction/complete-dict'
+let g:vimtex_quickfix_autojump = 0
+let g:vimtex_quickfix_open_on_warning = 1
+"let g:vimtex_quickfix_latexlog = {'default': 0}
+let g:vimtex_quickfix_latexlog = {
+ \ 'overfull': 0,
+ \ 'underfull': 0,
+ \ 'packages': {
+ \ 'default': 0,
+ \ },
+ \}
+
" transparency: open colorscheme, replace "ctermbg=Color" with "ctermbg=NONE"
retab