From d8fa242ad9ec0fc0baab66c7699155d45caa16db Mon Sep 17 00:00:00 2001 From: Marcel Schneider Date: Wed, 3 Jan 2018 15:12:05 +0100 Subject: [PATCH] Switch to zathura as pdf previewer for vimtex --- vim/ftplugin/tex.vim | 7 +++++++ vimrc.symlink | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/vim/ftplugin/tex.vim b/vim/ftplugin/tex.vim index 024b87b..484d8b4 100644 --- a/vim/ftplugin/tex.vim +++ b/vim/ftplugin/tex.vim @@ -5,6 +5,9 @@ if !has("nvim") \} endif +let g:latex_view_general_viewer = 'zathura' +let g:vimtex_view_method = 'zathura' + if has("nvim") if !exists('g:deoplete#omni#input_patterns') let g:deoplete#omni#input_patterns = {} @@ -13,3 +16,7 @@ if has("nvim") endif set conceallevel=0 + +" spell checking +set spell +set spell spelllang=de diff --git a/vimrc.symlink b/vimrc.symlink index 82b2d16..103bad5 100644 --- a/vimrc.symlink +++ b/vimrc.symlink @@ -34,7 +34,7 @@ Plug 'tpope/vim-repeat' Plug 'vim-syntastic/syntastic' Plug 'altercation/vim-colors-solarized' Plug 'godlygeek/tabular' " Align text on symbols -Plug 'ludovicchabant/vim-gutentags' +Plug 'ludovicchabant/vim-gutentags', { 'for': ['php', 'c', 'cpp'] } Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } " fuzzy file finder Plug 'junegunn/fzf.vim' " vim integration for fzf if has("nvim")