/Vim-Latex

A simple plugin to compile and open latex files from within vim

Primary LanguageVim Script

Vim-Latex

A simple plugin to compile and open latex files from within vim!

To set up the plugin, create a hidden directory in your home folder -

cd
mkdir .vimPlugins

Clone the repo into this folder

cd .vimPlugins
git clone https://github.com/rohany/Vim-Latex .

Open your vimrc and add the following lines

vim ~/.vimrc
source ~/.vimPlugins/latexPlugin.vim

Now to use the plugin, just type pdf in visual mode, and your .tex will be compiled into a pdf and displayed!