From 7c41908d940a49ead194d43161aef2cf2d58bf17 Mon Sep 17 00:00:00 2001 From: Steins Date: Sat, 3 Nov 2018 12:55:37 +0100 Subject: [PATCH 1/2] Installed pathogen --- .gitmodules | 3 +++ bundle/vim-pathogen | 1 + vimrc | 7 ++++--- 3 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 .gitmodules create mode 160000 bundle/vim-pathogen diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..e9ceb18 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "bundle/vim-pathogen"] + path = bundle/vim-pathogen + url = https://github.com/tpope/vim-pathogen diff --git a/bundle/vim-pathogen b/bundle/vim-pathogen new file mode 160000 index 0000000..06da921 --- /dev/null +++ b/bundle/vim-pathogen @@ -0,0 +1 @@ +Subproject commit 06da921608b971fb47603671bcafdb2843992eb3 diff --git a/vimrc b/vimrc index b8d7ae9..0d97fcf 100644 --- a/vimrc +++ b/vimrc @@ -1,6 +1,6 @@ -set backspace=indent,eol,start - -" parametres +" pathogen +runtime bundle/vim-pathogen/autoload/pathogen.vim +execute pathogen#infect() " detection du type de fichier filetype on @@ -14,6 +14,7 @@ syntax on set cursorline "divers +set backspace=indent,eol,start set tabstop=4 set shiftwidth=4 set shiftround From 0432a9e863b800012f5beac8a907e71ca0b3fea4 Mon Sep 17 00:00:00 2001 From: Steins Date: Sat, 3 Nov 2018 16:04:36 +0100 Subject: [PATCH 2/2] 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'