Vim is an advanced text editor and IMproved version of the Unix editor Vi often used to produce LaTeX code.

learn more… | top users | synonyms

1
vote
2answers
74 views

Customize vim-latex to write file prior to compilation

<leader>ll compiles the current file, but I'd like it to also write the current file before it does that. Personally, I don't understand why this is not default behavior. When would one ever ...
3
votes
1answer
286 views

Vim-Latex: forward search doesn't work

I know people have had this kind of problem before, but I haven't been able to find the solution to my problem anywhere. First of all, calling Tex_ForwardSearchLatex() with <leader>ls doesn't ...
3
votes
1answer
453 views

Error installing Vim-LaTeX using Pathogen on MacVim

I installed vim-latex using pathogen following the very clear instructions proposed in: How to install vim-latex? However, when I open a .tex file using MacVim, I get the following error message: ...
0
votes
1answer
90 views

Folding in Vim latex-suite

I have installed and configured vim latex-suite successfully. However whenever i try to type ":\rf" in normal mode i get an error "E10 : \ should be followed by /,? or &" . Could anyone tell me ...
4
votes
0answers
66 views

non-paired bracks break indent in vim

It seems that latex-suite do the auto indent wrong when there are no closed bracks, for example, in the following $[0,1)$ is the cause of problem: \begin{equation} f(x),\quad x\in[0,1) ...
4
votes
0answers
287 views

How to understand vim-latexsuite template expression evaluation?

I'm trying to build out LaTeX templates for my engineering coursework, and I love the vim environment for editing, so I've been using vim-latex to integrate the two. I don't quite understand how the ...
2
votes
0answers
18 views

vim-latex suite doesn't expand packages

Recently I reinstalled Ubuntu 15.10 (after having too many problems with 16.04) and everything else I need. I used Vim-latex to write, compile and view tex documents, and it was so easy to press F5 ...
2
votes
0answers
27 views

How to Customize Folding Environments in ViM Using vim-latex for Beamer

I'm trying to configure my ViM editor to improve the folding when editing Beamer files. I have vim-latex installed (using Vundle). Now I'd like to customize my vim-latex; specifically, I'm trying to ...
2
votes
0answers
57 views

vim-latex does not display compilation errors

I installed vim-latex using Vundle and have been trying to use it to write a LaTeX document. Using \ll compiles the document if there are no errors and opens the .pdf in my pdf viewer, exactly was I ...
1
vote
0answers
13 views

macvim: latex-suite reference autocomplete does not work after mac update

I recently had a software update of my macbook pro, then I noticed an issue with my latex-suite autocomplete function for references. \cite{<F9>} not will always open an empty outline window ...
1
vote
0answers
26 views

Vim LaTeX-suite: EFI macro expand differently

I an learning LaTeX-suite, and I found that the EFI macro for figure environment performance differently for different documents. Sometimes the image file line would be \psfig{figure=<+eps ...
1
vote
0answers
14 views

vim-latexsuite syntax highlight in macro parameter

I'm using vim with vim-latexfor editing my LaTeX-files. I notice that the \begin{env} and \end{env} doesn't colorize when they are in a macro parameter (the \vary command and question environment is ...
1
vote
0answers
13 views

Vim-Latex: forward search doesn't work well on Windows, featuring significant delay and no visual cues

I managed to let forward search work on my Windows machine with the following specification in my _vimrc: let g:Tex_ViewRule_pdf = 'C:\Program Files\SumatraPDF\SumatraPDF.exe -reuse-instance ...
1
vote
0answers
30 views

What can I put in the *.latexmain file?

My *.latexmain files are usually empty. I just use the file name to indicate which file is the main file. In the Vim Latex Suite files, I noticed a file projecttemplate.vim with the following ...
1
vote
0answers
50 views

macvim and latex-sutie: autocompletion of \cite{} using [F9] is glitchy

I am using a Macbook Pro to write some papers using latex, macvim, and latex-suite. I like the [F9] bibliography autocompletion for \cite{}, which comes really handy. However, the function is really ...
1
vote
0answers
32 views

vim+ Latex Suite, Can the compile window be in a sub-window?

I am using vim+latex suite. When \ll, the compile window takes the whole area of the vim window, no matter how many other subwindow I have opened. Can the compile process just be shown in another ...
1
vote
0answers
146 views

vim + knitr + synctex + file watch + sumatrapdf (on windows)

I'm trying to get a task runner watching a directory for changes and then run the following: knit Rnw file pdflatex the resulting tex file (with bibtex) open pdf viewer and have both forward/reverse ...
1
vote
0answers
62 views

How to Disable visual Effect of \textit{} in latex-vim?

Disable visually italicizing characters in \textit when using LaTeX-Suite The answer in that question was slightly different from what I want. What philix says can't been added into .vimrc (at least ...
1
vote
0answers
167 views

Citation completion in vim latex-suite on Windows 8.1 Update

This is potentially a duplicate of this tex.se question, but I tried all the advice with still no solution. I am on 64-bit Windows 8.1 Update with gvim 7.4, Python 2.7.7 (Anaconda 2.0.1 32-bit), and ...
1
vote
0answers
70 views

Latex-Suite Mapping Using Fullwidth Characters

Currently I am using Latex-Suite to edit an document that contains CJK characters for more than 90%, and therefore mainly using an input method that outputs fullwidth characters. I tried to define ...
1
vote
0answers
59 views

Vim complains of Whitespace error with \hspace

When I type the following line in Vim: \hrule height .1mm Why do I get the following error in the Vim Location List: foo.tex|258 error| Whitespace before punctation mark in " ." NOTE: It ...
1
vote
0answers
223 views

Set up vim, latex for AGU template

On a Mac, I have been using vim-latex for a while and had set it up a while ago to output pdfs via the :ll command in vim (using pdflatex if I'm correct) and viewing the output via the :lv command ...
0
votes
0answers
18 views

opening okular with the first search try and closing it dirties the terminal when I use vim

I new to both vi/vim and vim-latexsuite. At the moment I'm not sure everything about the installation of the pluging is ok, as you can see from this question of mine on stackoverflow (it would be ...
0
votes
0answers
49 views

vim+latexsuite: Compiling parts of a file

I have a question concerning Compiling parts of a file. It reads "Continue to debug this file as required and then replace the portion of the original file with this one." How can I then replace the ...
0
votes
0answers
89 views

latex-suite (vim-latex) \cite F9 bibliography completion not working

I use latex-suite (vim-latex) to edit tex file with vim. But the action \cite{F9 doesn't do anything at all (i.e., no splitted window with bibliography entries as expected). Could anybody out there ...
0
votes
0answers
51 views

How to finishing the compilation in LaTeX-Suite?

Editing in vim using LaTeX-Suite after pressing \ll I got two additional windows: one contains error list and one contains preview of selected error. How to back to editing the main .tex-file? It is ...
0
votes
0answers
56 views

VimLatex strange behavior exponents

I have macVim 7.3.754 and latex-suite installed. In insert mode, I type x^^ in order to typeset a power in Latex with base "x" and some exponent to be typed later, I initially get, as ...
0
votes
0answers
27 views

Produce two outputs in Vim-LaTeX compilation

I would like to make ViMLaTeX compilation to produce two outputs - let's say, one with the draft option in the documentclass command. Or even better - to have two different ViM commands, one for ...
0
votes
0answers
75 views

LaTeX-Vim Return to edit after error?

For example I compiled something, and got error, it gives me 3 splited windows in vim, but if I :q all of them, I quited the vim. Is there a way so that I can go back to edit after compile error?
0
votes
0answers
146 views

LaTeX syntax highlighting in vim

I recompiled vim (with lua support) (on an ubuntu machine) and now the syntax highlighting for LaTeX is disabled/broken. The latexsuite (e.g. \ll or \ls) seems to be working fine otherwise. How can ...
0
votes
0answers
65 views

Vim-Latex: compile to multiple formats at once

I want a PDF document ultimately, but I'm setting my default target format to dvi in order to use the YAP dvi viewer as the default (the PDF viewer can't do forward searches on my Windows machine, I ...
0
votes
0answers
109 views

Browsing vim latex-suite quickly

I use Vim Latex-Suite for typing my Latex files. One of the features I like is the F9 shortcut inside \ref{} which helps me to browse a document with many sections/labels and find the theorem labels ...
0
votes
0answers
182 views

Vim call Tex_ViewLaTeX() function not doing anything

I am running gvim7.4 on windows 7 and I am able to compile tex documents and view the pdf manually, but the \lv command does not return anything. The tex file has no corruptions (I can run it with ...
0
votes
0answers
126 views

vim-latex 'cite' command not showing citation options in quickfix window

The cite completion in vim-latex does not work on my machine (Ubuntu 14.04) for a specific document. The document is a doctoral dissertation and involves multiple subdocuments that are imported into ...
0
votes
0answers
147 views

Set up MacTex distribution as default on mac os

I have installed the MacTex distribution on OSX10 and until now I've been using the TexShop editor quite successfully. I want to change and start writing latex using the Vim editor but I haven't ...
0
votes
0answers
1k views

How can I install vim-latex on mac os x?

I was trying to install vim-latex (http://vim-latex.sourceforge.net/index.php?subject=download&title=Download) My Vim comes with the OS X system and is located at /usr/share/vim/vim73 According ...
0
votes
0answers
72 views

Strange behaviour of VIM-Latex

When I try to type certain words (in insert mode), suddenly a lot of code is inserted. For example, if I try to type "DEFINE", once I enter the F, this is inserted D\begin{figure}[<+htpb+>] ...
0
votes
0answers
134 views

vim-latex templates last change dynamic

So I am using vim-latex suite and want the Last Change information to change dynamically with every edit/ save. It's found in the preamble if you're using one of the templates e.g % File: ...
0
votes
0answers
95 views

How to add custom environment in latex-suite

Latex-suite provides short keys to make working with environments like equation easier in VIM. For example, I like to press <F5> to change the environment. One of the environments that I find ...