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
320 views

Correct spacing around environments without the comment symbol when using parskip?

I prefer inserting blank lines between paragraphs, and no indenting. I know that the package parskip can offer this functionality, but it comes with a catch. When writing \documentclass{article} ...
5
votes
1answer
777 views

Is there a default / official / standard Vim indentation file for TeX, or just best practices for TeX source indentation?

If you see here, the author mentions an "official version" of an indentation script from Johannes Zellner. The link is broken and while there are traces of Zellner all over the interwebs, I can't find ...
7
votes
1answer
299 views

Fix all quotes in a document (pasted from another)

I'm translating some documents from MS Word (written by someone else) to TeX for my own uses. There are quotation marks all over the place, some of which are "weird" (e.g., unicode character 201c “ ...
3
votes
1answer
403 views

vim-latex: “I can't write on …” error

I am using vim-latex. I compile TeX document using \ll command, then \lv to view it. It generates a PDF file. So far, so good. The problem starts when I try to modify my TeX file and compile it again ...
1
vote
1answer
633 views

Howto use Vim + LatexSuite to convert plain text lists to itemize/enumerate etc

I am often burdened with "converting" and "including" stuff into larger documents. I have compiled some scripts and voodoo to ease my work but rather often I'm still facing the task of manually ...
1
vote
1answer
3k views

Install Vim and Latex suite

Good Afternoon All, I am trying to install Vim and Latex suite to work on my latex project. I need help with installing this properly on Mac OS X Lion. I have already installed MacVim. To setup ...
3
votes
2answers
572 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 ...
4
votes
1answer
1k 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 ...
6
votes
1answer
706 views

Vim syntax highlighting of partial tex file used with \include is incorrect

I am using vim to edit latex files. The document is long and so I split each chapter in its own .tex file. Each .tex file is then included into the main document using the \include directive. The ...
2
votes
1answer
1k 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 ...
14
votes
2answers
3k 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
2
votes
1answer
310 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
519 views

<F5> in vim-latex doesn't expand environment

I'm new to vim-latex and have been reading some tutorials. I've noticed that the behaviour of the F5 on my machine is rather different from what the tutorials tell me. I'm supposed to expect F5 to ...
3
votes
0answers
626 views

Getting “LaTeX-Box” Vim plugin to work with biblatex (biber) [closed]

I am using the LaTeX-Box VIM plugin for my TeX editing and love it, but I would like to use the omnicomplete freature for Biblatex citations, is this possible?
6
votes
1answer
777 views

vim-latex with strange (unwanted) highlighting [closed]

I'm using vim with the latex-suite package installed on Ubuntu 11.10 to edit LaTeX files. The latex-suite highlights the LaTeX source as I edit it, but it seems to get very confused after something ...
2
votes
0answers
147 views

vim-latex always moves the cursor to the beginning of the line upon compilation. How do I stop this? [closed]

I have posted this question to /r/vim, with no success. The title basically explains the situation: every time I compile with <leader>ll, Vim moves my cursor to the beginning of the line, which ...
0
votes
1answer
1k views

How to automatically truncate the length of a line in vim-latex?

Is there a way of automatically beginning a new line after reaching a particular length of a line in order to make navigation through a document easier in vim-latex? Example (text from ...
13
votes
5answers
3k 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 ...
8
votes
1answer
2k 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: ...
6
votes
1answer
915 views

How to setup Vim-Latex to run only 1 instance of SumatraPDF?

I'm trying to setup vim-latex plugin to do default compile and view using PDF, with SumatraPDF as the default reader. Here's the configuration I made in .vimrc: let g:tex_flavor='latex' let ...
5
votes
1answer
2k 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 ...
1
vote
1answer
532 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)? ...
12
votes
3answers
3k 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 ...
4
votes
1answer
757 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 ...
2
votes
1answer
1k 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 ...
14
votes
1answer
1k 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
4answers
2k 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) ...
0
votes
0answers
80 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 ...
8
votes
1answer
754 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 ...
4
votes
2answers
1k 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 ...
4
votes
1answer
985 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
533 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?
5
votes
1answer
1k 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.
11
votes
1answer
875 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 ...
2
votes
2answers
3k 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 ...
4
votes
0answers
321 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
1answer
777 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 ...
6
votes
0answers
629 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 ...
2
votes
2answers
3k 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) ...
1
vote
1answer
883 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 ...
2
votes
1answer
712 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 ...
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
706 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+>} <++> ...
4
votes
1answer
647 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
1answer
1k 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!
11
votes
1answer
1k 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 ...