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

learn more… | top users | synonyms

5
votes
4answers
2k views

Macvim and Skim sync does not work

Don't really know where to begin. I have installed the latest macvim and skim. Put the mvim in path. Setup skim sync with the default macvim (and tried some custom stuff also). However it will not ...
4
votes
1answer
1k views

Why is LateX Suite (Vim) so inconsistent

I am trying to transition to Latex Suite for Vim, but it seems to have several problems, observe: The first \subsection command (90) is shown but the second one (124) is not. Again the third one is ...
18
votes
1answer
322 views

Vim Configuration for expl3

I've started with programming in expl3 and vim doesn't realise that underscores are now part of LaTeX identifiers. I'd be much obliged if somebody could explain how to best configure vim so it has ...
12
votes
5answers
1k 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 ...
2
votes
1answer
255 views

how to link sub-document with reference file for auto-completion in vim-latex?

I am writing a long document so I am making use of sub-documents and inserting them with \include. The problem I am facing is that as the \bibliography{} line is on the main .tex file the ...
4
votes
1answer
501 views

Strategy for writing a long document

I am beginning to write my PhD thesis and I thought about getting some feedback and general tips. Based on your experience how would you do it? I am also concerned about the dialogue between my ...
4
votes
1answer
726 views

how to enclose selection in {} using vim-latex keyboard shortcuts

Is there an easy way of wrapping a selected text in {} with a shortcut in the same way you can turn a text into italics by typing `it while selecting a piece of text. I tried `{ but and that works ...
0
votes
1answer
397 views

macvim, skim, and sync - skim use *open* copy of file?

When using Skim.app for reverse-searches, is there any way to make the .tex file come to the front if it's already open in a macvim tab? What if there are multiple vim windows open (not just tabs)? ...
9
votes
1answer
513 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 ...
3
votes
1answer
404 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 ...
0
votes
0answers
76 views

Why does '<++>' appear every time I use vim-latex suite? [duplicate]

Possible Duplicate: What does <++> signify? e.g. Using TeX-Environments to insert an enumerate will cause a strange symbol '<++>' at the end of \end{enumerate}. Anyone knows why ...
6
votes
1answer
516 views

Make the vim minted style use light terminal-like highlighting instead of dark

Whenever I'm highlighting code with the minted package, I use \usemintedstyle{vim}, which looks okay aside from the fact that it looks like a dark VIM color scheme applied onto a light background and ...
3
votes
1answer
570 views

What are the <++> in Vim latex-suite after typing in a bracket pair? [duplicate]

Possible Duplicate: What does <++> signify? In typing bracket pairs while coding, I usually type the opening and closing bracket before typing in the contents like so: ...
6
votes
1answer
828 views

How can I use the Vim LaTeX-Suite multiple compile option with BibTeX and the -aux-directory option?

I have a document composed of several subfiles and so have used the -aux-directory command to put all of the temporary files in a subfolder, 'auxdir', to keep my working folder clear (and me sane). I ...
4
votes
1answer
325 views

What does a number followed by “ in” mean?

The TeX syntax highlighter that I use colors all occurrences of a number followed by " in", e.g. 0 in or 32 in in a dangerous bright red, in almost all contexts. Why?
16
votes
2answers
3k views

Set up vim with latex-suite to use latexmk

Today I started using vim in combination with the latex-suite plugin, and so far I love it. Other editors also make using LaTeX easier by providing code completed and such, but latex-suites's ...
4
votes
2answers
777 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 ...
2
votes
1answer
768 views

How to make Vim LaTeX Suite show errors when compile

Compiling TeX with command : silent call Tex_RunLaTeX() The gvim window turns grey when there are errors. One needs to press Enter for each error to continue. It will be better if the error ...
10
votes
2answers
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
4answers
2k views

How to get vim-latex's \cite completion to work?

I'm having issues with \cite completion. In the screenshot below, you can see what I get when I do \cite{ } F9. It is not doing what documentation says it would do, such as: Show a list that I can ...
13
votes
2answers
2k views

Is there any cheat sheet for vim-latex mappings?

I wonder if anyone knows any list of "magical words" such as vaw`em which changes the format to italics of the current word for vim-latex different than this one
3
votes
2answers
392 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 ...
6
votes
2answers
1k 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
0answers
245 views

Vim-LaTeXsuite shows me my .bbl file for errors in the .tex file [closed]

I'm writing my doctoral dissertation in LaTeX with Vim-LaTeXsuite, and I find that Vim-LaTeXsuite is often determining the location of errors incorrectly, particularly when the error is a \ref{} to an ...
2
votes
4answers
1k views

vim, PDF -XChange, pdflatex, TeX Live 2010, windows xp, (pdfsync)

Hope I didn't forget any. These are the packages I want to use on my computer for typesetting pdf files. Up to date I'm using vim (without any plugin but integrated syntax highlighting for .tex files) ...
10
votes
1answer
703 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 ...
2
votes
1answer
554 views

Tex and pdf synchronization

I'm trying to make backward and forward search work between my pdf output in skim and my tex file in macvim with 'vim latex suite' using PDFSync. I think I did everything well, as when I ...
3
votes
1answer
920 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.
10
votes
3answers
2k views

Compiling a LaTeX document manually

I've created LaTeX documents before using 'nice IDEs' such as TeXnicCenter and have a little experience in general with TeX, however, now I'm wondering about creating one "manually". By that, I mean ...
11
votes
1answer
725 views

Vim: Get Rainbow Parenthesis work with Latexsuite?

I'm using the text editor vim (or MacVim) together with the LatexSuite plugin. It works good, so far, but there is one thing that annoys me: There is an awesome plugin, Rainbow Parenthesis, that will ...
8
votes
1answer
1k views

Inline comments in LaTeX

Is it possible to make inline comments in LaTeX that do not extend until the end of the line? The actual problem I'm trying to solve is vim's annoying highlighting of the non-curly end-bracket here: ...
8
votes
1answer
1k views

In vim: How to enable spellchecking of text only and exclude listings

How can I set up vim in such a manner, that it spellchecks only the text portion of my file? I write a lot of reports that include code listings, which I would like to exclude from the spellchecking. ...
2
votes
1answer
582 views

vim on Rnw (sweave) files: how to indent <<>>== properly?

When I use vim-latexsuite to indent my .Rnw files, the Sweave blocks get indented, which causes them not to work properly. What I need is a way to ensure that the vim indent scheme puts these blocks ...
9
votes
3answers
2k views

Vim-Latex: Double-Quote Automatically Replaced

I use Vim with Vim-Latex plugin to edit my LaTeX documents. I have the problem that whenever I want to insert a double quote ("), it automatically get replace by (``). Any idea how can I disable that ...
5
votes
0answers
559 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 ...
1
vote
1answer
803 views

Set custom bibtex call in Vim latex suite on windows (to add --include-directory)

I would like to use one .bib file for everything and not have to keep a copy in each project's folder. By reading around I see that if I were calling bibtex manually, then I could add the string ...
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. ...
1
vote
2answers
535 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+>} <++> ...
2
votes
2answers
2k views

How to view pdf on Windows 7 using Vim with latexsuite plugin?

I sometimes use a Windows 7 laptop and I'm trying to set up Vim and latexsuite. I can compile with \ll and then go view the PDF by manually opening it. I would like to set it up like I've done with ...
2
votes
1answer
777 views

Can I set Vim w/ vim-latexsuite to clean up aux files after compile?

I can't find the appropriate setting in gVim. Is there a way to manually edit my setting file to clean aux files after compile? Thanks!
2
votes
2answers
445 views

custom mapping for >italicize marked text / text under cursor< (using vim)

I can't find this here, nor anywhere else. Either it's too simple, or I'm looking at the wrong places, or whatever. (Maybe the answer is out there somewhere, or worse, in here somewhere without my ...
3
votes
1answer
465 views

Change <C-j> binding for vim-latex

I am using the C-j map for regular navigation in Vim; it is defined like this in .vimrc: map <C-j> <C-e> However, C-j is redfined in the latex suite. When I try to use the described ...
2
votes
2answers
2k views

Problems installing vim latex-suite

I'm working on mac. I donwloaded the archive 1.8.23 from the SourceForge page I extracted its contained files in my ~/.vim/ directory I made the necessary changes (described in de vim latex manual) ...
29
votes
5answers
11k 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 ...
10
votes
1answer
985 views

How to use the vim quickfix mode for LaTeX?

One nice feature of vim is the quickfix mode (:help quickfix) - after calling :make you can navigate through the error messages of e.g. your C compiler and vim jumps to the right locations. How do I ...
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
2answers
2k views

Configuring vim to only check spelling in text regions

Is there a way to configure vim so that it only checks spelling in the text regions of tex files?