My vim configuration
git clone https://github.com/m-col/vim-misc
Files | Refs | Readme

Commit 979fec661d874cb0d7a9ab87b07f1dfbabd67a4d
Parent: 0cbaaeb5c7c29b8f03b0a05834c7ab184d6b081a
Author: mcol <mcol@posteo.net>
Date: 2019-05-28 11:25:13 +0100
Committer: mcol <mcol@posteo.net>
Committed: 2019-05-28 11:25:13 +0100

add .rst ftplugin, add vimtex forward search hook

vimrc Modified

@@ -135,7 +135,7 @@
 endif
 if &term =~ '^screen' && !has('nvim') | exe "set t_ts=\e]2; t_fs=\7" | endif
 
-
+" vimtex configuration
 let g:vimtex_doc_handlers = ['Texdoc']
 function! Texdoc(context)
     call vimtex#doc#make_selection(a:context)
@@ -145,3 +145,7 @@
     return 1
 endfunction
 
+let g:vimtex_view_zathura_hook_callback = 'ViewerCallback'
+function! ViewerCallback() dict
+    VimtexView
+endfunction

ftplugin/rst.vim Added

@@ -0,0 +1 @@
+setlocal textwidth=79