Vim with LateX preview

This commit is contained in:
Steins 2018-11-03 16:07:42 +01:00
commit 37c570b06e
4 changed files with 16 additions and 3 deletions

6
.gitmodules vendored Normal file
View File

@ -0,0 +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

@ -0,0 +1 @@
Subproject commit 855c30915547c7e9c19b7e6efb528730c071d2e8

1
bundle/vim-pathogen Submodule

@ -0,0 +1 @@
Subproject commit 06da921608b971fb47603671bcafdb2843992eb3

11
vimrc
View File

@ -1,6 +1,6 @@
set backspace=indent,eol,start " pathogen
runtime bundle/vim-pathogen/autoload/pathogen.vim
" parametres execute pathogen#infect()
" detection du type de fichier " detection du type de fichier
filetype on filetype on
@ -14,6 +14,7 @@ syntax on
set cursorline set cursorline
"divers "divers
set backspace=indent,eol,start
set tabstop=4 set tabstop=4
set shiftwidth=4 set shiftwidth=4
set shiftround set shiftround
@ -41,3 +42,7 @@ nmap <silent> <A-Right> :wincmd l<CR>
"escape sequence "escape sequence
:set timeout timeoutlen=100 :set timeout timeoutlen=100
"vim-latex-preview
autocmd Filetype tex setl updatetime=1000
let g:livepreview_previewer = 'evince'