Vim is an advanced text editor and IMproved version of the Unix editor Vi.

learn more… | top users | synonyms

12
votes
5answers
2k views

Help me to write Long LaTeX equations fast with colours and possibly with other aids

I am too slow LaTeX-typist, for example with the equations below I cannot find where I am missing some bracket. Could someone offer me some computational method? I use Vim but I am happy with any ...
10
votes
1answer
726 views

What does <++> signify when using Vim LatexSuite?

I have a LaTeX editing environment that does some assistive stuff such as auto-indenting, closing parentheses, etc. However, one of the things that it does is unknown to me, and is difficult to ...
30
votes
5answers
12k views

How to setup synctex with vim, pdflatex and an open-source PDF-viewer under Linux?

Inspired by the comments to this answer I am curious how to actually setup and use forward/reverse (inverse) search with vim, pdflatex and an open-source PDF-viewer under Linux. Btw, to give more ...
22
votes
4answers
2k views

What is your favorite vi or vim command trick?

I just saw a similar question about Emacs/AUCTeX so this one was coming. I use nvi for all my editing including TeX and it would not change it for anything. However, even after almost 20 years of use ...
9
votes
1answer
4k views

How to install vim-latex?

Can someone please help with installing vim with the latex plugin? I've tried searching online for easier instructions, but I can't find anything. I have very little experience with terminal and I ...
7
votes
2answers
371 views

Vim-latex adds extra brackets when typing empty brackets

I just installed the vim latex-suite plugin. Whenever I type empty brackets, parentheses, or braces, I get an extra pair of them, and I am moved to the middle of the new pair and put into insert ...
3
votes
2answers
394 views

Adding extra lines/spaces in source, *not* affecting semantics

I'm editing a file with quite huge interleaves of text and formulas like this lorem ipsums \begin{align} foo & bar\\ qux & rofl\\ & toto \end{align} lorem ipsums … And I face ...
24
votes
5answers
3k views

Intelligent paragraph reflowing in vim?

I'm not sure whether this is an appropriate question for tex.SE. If you think questions like this should not be asked here, please voice you concern. If necessary I'll open a question on meta. For ...
11
votes
3answers
2k views

vim LateX-Suite indentation and line breaking

I'm now setting up Vim for use with LaTeX. This is about setting up the indentation. In the picture below, there are many things that need tweaking. Everything between \vskip .5cm and \vskip 1in is ...
9
votes
1answer
530 views

What does 'missing \@ before…' error mean in vim?

I get this strange behavior when I have capitals before a period, like so 1 \documentclass{article} 2 \begin{document} >> 3 Another possible protein blah blah blah from GRIP/ABP. Blah ...
4
votes
2answers
683 views

Biber backend and Vim-Latex

I'm trying to make biblatex work with Vim-Latex (a.k.a Latex-Suite). Using bibtex as a backend works fine but using biber doesn't. I'm using Miktex 2.9 and have the following in my .vimrc file: " ...
7
votes
2answers
2k views

Which LaTeX IDE has Vi plugin?

I'm looking for a LaTeX IDE which has Vi plugin, but I haven't found any. I tried out vim-latex, but I couldn't find a way to install it. Thanks in advance.
3
votes
3answers
1k views

How can I turn Vim LatexSuite on Manually?

VLS's commands such as ^J and F5 do not work always for me inside Vim so how can turn VLS manually or do some other tricks to get VLS working more often? The word "often" could mean that VLS gets ...
2
votes
1answer
987 views

How to set up spell-checking with vim?

I'm using vim to write my thesis. It's a multi-document project, with most tex files in subdirectories from the master-document. I've set up a couple of \newcommands to replace the use of \section*{} ...
2
votes
1answer
801 views

Issues when compiling TeX files with Vim and LaTeX-suite

I'm having problems compiling a TeX file with LaTeX-suite on Ubuntu. In my .vimrc, I have the following lines : filetype plugin on set grepprg=grep\ -nH\ $* filetype indent on let ...
8
votes
1answer
511 views

vim: nice folding function

I use Latex-Box but I really like vim-latex (a.k.a Latex-Suite) folding. I tried to copy Latex-Suite's folding.vim file to my ftplugin/tex folder but cannot make it work. Has anyone written a nice ...
12
votes
3answers
1k views

How to disable all Vim-LaTeX mappings?

I like some of the features provided by the Vim-LaTeX suite, but not all of them. In particular, I dislike all of the mappings like [[ = \left[ \right] and the automatic placeholder stuff with ...
4
votes
2answers
1k views

Getting \cite{} autocompletion to work in gvim with latex-suite on windows 7

I am using gvim (latest version) with latex-suite (latest version) on Windows 7 32 bits. This is a fresh install from my previous Ubuntu setup. Everything runs fine except for cite autocompletion, and ...
3
votes
1answer
958 views

TexShop + MacVim ?

Is there a blend of TexShop and Vim? It is supposed to combine the advantages of SyncTeX and other features of TeXShop and the power of a Vim editor.
3
votes
1answer
2k views

Errors/Warnings in LaTeX Output

I use Vim to edit LaTeX documents and pdflatex to compile the documents. One problem with using pdflatex is that it takes time to go through the output to see if there is any warning/errors. ...
5
votes
0answers
564 views

latex-suite on OSX - citation completion not working [closed]

So I have just installed latex-suite using the default version of vim that ships with OSX 10.6. The problem I'm having is that \cite completion is not working properly. This is what happens: Begin ...
4
votes
1answer
354 views

Issues when using inverse/forward search with vim and xdvi (linux)

I am using vim 7.3.35 with the vim-latexsuite on ubuntu. After googling around I managed to setup forward/inverse search with xdvi by adding the following to my .vimrc: let g:Tex_CompileRule_dvi = ...
4
votes
2answers
797 views

vim+LaTeX Suite: How to jump to the Error List window?

I am trying to learn how to use vim latex-suite and following the tutorial, A (very) quick introduction to Latex-Suite. When I compiled and got some errors, I see the Error List, etc with split ...
3
votes
1answer
408 views

When loading LaTeX files in vim (7.3) I get the error “perhaps you should insert a `~' before '\ref' ”

I have the over 30 errors in my LaTeX file, all over the \ref{...} command, and all following this similar pattern (I put it as a quote instead of code as it is long and code does not wrap) I ...
1
vote
1answer
76 views

Vim-latex key expansion doesn't remove the typed keys

I recently installed vim-latex plugin in gvim 7.4. I followed the documentation to set it up. Everything is working. But I have a problem. When I type in key expansion combination, the combination ...
1
vote
1answer
1k views

compiling pdflatex from the terminal in vim [closed]

A file I can compile in Texmaker won't compile after editing in Vim. I am giving the error hw9problem1xplot can't be found. This is from an includegraphics command. However, the pdf image file is ...
1
vote
2answers
555 views

Where is this shortcut coming from?

I am writing a report on robot wars (as funny as it sounds). One major section in my report is on EMP Cannons. Whenever I type EMP I get this: \begin{minipage}[]{<+width+>} <++> ...