From 0432a9e863b800012f5beac8a907e71ca0b3fea4 Mon Sep 17 00:00:00 2001 From: Steins Date: Sat, 3 Nov 2018 16:04:36 +0100 Subject: [PATCH] Added vim-latex-live-preview plugin --- .gitmodules | 3 +++ bundle/vim-latex-live-preview | 1 + vimrc | 4 ++++ 3 files changed, 8 insertions(+) create mode 160000 bundle/vim-latex-live-preview diff --git a/.gitmodules b/.gitmodules index e9ceb18..d94cdd5 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "bundle/vim-pathogen"] path = bundle/vim-pathogen url = https://github.com/tpope/vim-pathogen +[submodule "bundle/vim-latex-live-preview"] + path = bundle/vim-latex-live-preview + url = https://github.com/xuhdev/vim-latex-live-preview.git diff --git a/bundle/vim-latex-live-preview b/bundle/vim-latex-live-preview new file mode 160000 index 0000000..855c309 --- /dev/null +++ b/bundle/vim-latex-live-preview @@ -0,0 +1 @@ +Subproject commit 855c30915547c7e9c19b7e6efb528730c071d2e8 diff --git a/vimrc b/vimrc index 0d97fcf..92f8477 100644 --- a/vimrc +++ b/vimrc @@ -42,3 +42,7 @@ nmap :wincmd l "escape sequence :set timeout timeoutlen=100 + +"vim-latex-preview +autocmd Filetype tex setl updatetime=1000 +let g:livepreview_previewer = 'evince'