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

learn more… | top users | synonyms

1
vote
1answer
55 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 ...
0
votes
0answers
10 views

Vim-LaTeX does not compile

I am installing Vim-LaTeX on my Mac. Installation is done. However, I cannot compile , although I can compile through texshop. What I have followed: Installation guide VIM-LaTeX Q&A No ...
1
vote
0answers
24 views

Supress standard output in vim-latex-suite [migrated]

I use Vim Latex-Suite together with the PDF reader Zathura. In the last versions of Zathura they decided to output the following warning: "warning: Failed to loads bookmarks" whenever a document ...
0
votes
1answer
123 views

Vim-Latex: Inverse and Forward Searching partially enabled. (Environment: Vim-Latex Suite, Sumatra, MikTex) [duplicate]

This is a question directed to those who are familiar with compiling Tex using Vim. My OS is Windows 8.1 Problem Description: Inverse and Forward Search is partially enabled. When I double click at ...
3
votes
1answer
50 views

\cite{} autocompletion in VIM in non tex file

I'm moving my workflow from LaTeX to Asciidoc + Asciidoc-bib. I would like to have the vim-latex reference autocompletion working for non-.tex files, in my case for .txt files. So when I add some ...
0
votes
0answers
23 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 ...
1
vote
0answers
45 views

Vim color scheme for Latex

I would like suggestions for a Vim color scheme for Latex. I love gruvbox for coding but it fails to highlight most Latex commands. Besides, maybe something different for typesetting is a good idea ...
2
votes
0answers
34 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 ...
0
votes
0answers
26 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 ...
1
vote
0answers
33 views

Vim Latex-Suite: macro expands but doesn't disappear [duplicate]

I'm learning to use the Vim Latex-Suite for the first time (although I'm experienced with both Latex and Vim separately) and the macro expansion doesn't seem to be working as it should. For example, ...
0
votes
1answer
29 views

vim plugin delimitmate doesn't work with tex file. Is there any other plugin for autoclose working fine with vim-latex?

I often use delimitmate plugin for autoclose. It works well in other file types except tex file. In other file type such txt, when I typeset (, I will get () with the cursor between the parenthesis. ...
6
votes
1answer
58 views

Don't open vim when I exit pdflatex

When I'm working on a LaTeX document and compiling with pdflatex, I frequently have compile errors. To get out of pdflatex when running it from the command line, I use the exit command to end the ...
0
votes
0answers
25 views

Getting vim to return autocomplete bibtex results for multiple citations

I am wondering whether it is possible to get Vim-latex's F9 autocomplete to work for multiple references within a citation. For example, if I type \cite{author1 and then press F9, then it will return ...
0
votes
0answers
12 views

Searching for references in Vim-latex with prefix

I'm wondering if there's a way to get the 'F9' citation search to work with a prefix added to a citation. For example, if I start by writing \cite<e.g.>{He, then press 'F9', bibliography results ...
9
votes
5answers
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 ...
0
votes
0answers
59 views

Vim : key map hard to remove - plugin LaTeX/spf13

I use Vim (and gVim) with the spf13' bundle, plus I added vim-latexsuite (running on an Archlinux conf). Only when I work on a .tex file, the 'é' (french e-acute key) is inaccessible, mapped to ...
0
votes
0answers
15 views

Vim + Tex_SmartQuoteOpen for csquote

with vim-latex for vim, there is a two variables g:Tex_SmartQuoteOpen and g:Tex_SmartQuoteClose which meaning repleacment text for " at the begining/and of a citation. Default value are ``'' + one ...
1
vote
1answer
27 views

Weird autocompletion in vim-latex [duplicate]

I am trying to write some inline equations in vim-latex, but when I type \(( (To start an equation with a parenthesis), vim replaces it with \\left( \right)<++>. What is it doing, and how do I ...
0
votes
0answers
39 views

Vim-latex autocomplete for \ref{} when using build directory

When I compile a simple document test.tex using latexmk, autocompletion of \ref{} using <F9> works as expected, presumably because main.aux is visible. If I now compile using latexmkspeciale ...
0
votes
0answers
39 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 ...
1
vote
3answers
1k views

vim-LaTeX does not run bibTeX

I'm on a Windows 7 machine, using the most recent version of vim-LaTeX with gVim. With all of the defaults, using \ll to compile my document only runs LaTeX once, when it should run multiple times, ...
2
votes
0answers
208 views

How to change (Mac)Vim's syntax highlighting rules for (La)TeX files? [closed]

I'm a long-time AUCTeX/Emacs user that switched to Vim/LaTeX-Box recently. I got everything working the way I want and grew pretty fond of Vim, but there's still one unusual thing that bothers me: ...
0
votes
1answer
45 views

Remove a \textit{} or \emph{} in Vim with vim-latex (LaTeX-Suite)

Thanks to this SE answer I now know that I can emphasise the highlighted word with `em. Is there a way to remove the \emph{} from a word?
0
votes
1answer
82 views

Set master file in vim-latex (TeX-Suite)

When I type <leader>ll in Vim with vim-latex installed, I can compile the .tex file in my current buffer. But the .tex file I'm editing is actually just \input{}ed into a master .tex file. How ...
0
votes
0answers
59 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
39 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 ...
33
votes
5answers
13k 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 ...
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 ...
2
votes
1answer
264 views

(Vim+latex) How to compile a single tex file in a project directory using \ll

I am using Vim+latex. In my project directory, I have another separate tex file (for example a tikz/PGF file to draw a figure). When I input \ll, instead of compiling my current file, the system ...
0
votes
0answers
86 views

how to open the right pdf file using \lv with LaTeX-suite on vim

I'm new to the scene of LaTeX-suite on vim. I am now able to compile a latex project using \ll (which invokes the Makefile). However, when I tried to open the pdf file using \lv, it always attempts to ...
1
vote
1answer
67 views

Configuring vim-latex when installed using pathogen

I've followed the instructions in this question to install vim-latex using pathogen. Now I'd like to have vim-latex compile using pdflatex instead of the default latex. The instructions on the ...
6
votes
4answers
214 views

Highlight / color parts of text

LaTex newbie here. Currently using vim with solarized color scheme to edit .tex documents. When writing I often jump around to different parts of the document, leaving gaps behind to work on later. ...
8
votes
1answer
232 views

`. shortcut doesn't expand to \cdot

According to latex-suite documentation, `. should expand into \cdot but this is not working for me. All other abbreviations (greek letters and math) do work. I tried looking in ...
1
vote
1answer
67 views

How can I remap “`” in vim-latex?

I'm using vim-latex and I would like to use another key (tab, for example) instead of "`", since typing the latter is difficult here (shift + ´ + ´). How can I do this?
0
votes
0answers
64 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 ...
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 ...
6
votes
6answers
762 views

Can you get Vim to behave like TeXworks or vice versa?

There are several features of TeXworks that I find substantially decrease my editing time. I tend to write a large number of rather small LaTeX files, which means I'm opening and closing files ...
0
votes
0answers
312 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
33 views

How to add a target directory when you convert from tex file to pdf in Vim-LaTeX?

I just installed Vim-LaTex on OSX. I learnt :TTarget pdf and type \ll to convert a tex file to pdf. When I do this a pdf file is created in the same directory as tex file. How can I add the target ...
6
votes
1answer
174 views

Disable visually italicizing characters in \textit when using LaTeX-Suite

I am using Vim + LaTeX-Suite plugin to write LaTeX source file. I noticed that LaTeX-Suite would automatically italicize characters in \textit (which made text inside almost illegible) and bold ...
0
votes
1answer
82 views

How do I get rid of vim-latex's output from PDF viewing?

I use vim with VIM-LaTeX. I can use \ll to compile and \lv to view. I've set the following options in my .vimrc file: let g:tex_flavor='latex' let g:Tex_DefaultTargetFormat='pdf' When I type \lv, ...
1
vote
1answer
88 views

vim-spell: exclude custom LaTeX commands

I'm using Vim (with vim-latex) to write my LaTeX documents. I made a bunch of custom commands to mark different kinds of "variables" (as in programming languages) I use in text, in formulas and in ...
1
vote
1answer
79 views

What does (,li) mean in Vim Latex

I am using Macvim together with Vim-Latex suite. On the Vim Latex webpage they list Environment macros as follows: ELI (,li)------------- list EDE (,de)------------- description etc. What does (for ...
7
votes
1answer
69 views

What are some vim macros to assist indexing a book?

I am about to re-read my 400-page book and mark certain words for indexing. I'm looking for a set of VIM macros that would help me quickly go through the text marking words and group of words to be ...
0
votes
0answers
50 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
68 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: ...
1
vote
0answers
117 views

What is the Vim Latex-Suite shortcut for inline math parenthesis?

Vim Latex-Suite has shortcuts for typing \left( and \right) just by typing ((. What is the shortcut for typing \( and \)?
3
votes
1answer
430 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 ...
3
votes
1answer
200 views

vim-latex shortcuts

I am facing a problem for using shortcuts provided by vim-latex. Say, I want \textbf, so I was trying `bf. But, given, `b is a shortcut for \beta, I always end up with something \betaf. FBF works, ...
1
vote
0answers
61 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 ...